This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: V3 PATCH: set limits in DejaGnu-based framework
- To: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Subject: Re: V3 PATCH: set limits in DejaGnu-based framework
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 01 May 2001 19:33:31 +0200
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <fl1yq9rtoq.fsf@sel.cmla.ens-cachan.fr> <20010502024302.A16949@hg.cs.mu.oz.au>
Fergus Henderson <fjh@cs.mu.oz.au> writes:
| On 01-May-2001, Gabriel Dos Reis <gdr@codesourcery.com> wrote:
| >
| > + ## Set ulimits. This should normally be handled on test-by-test
| > + ## basis through @xxx@-keywords.
| > + set maximum-memory-usage 16384
|
| It might be helpful to document the units:
|
| set maximum-memory-usage 16384 # kilobytes
Good catch!
-- Gaby
2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
* testsuite/libstdc++.tests/tests.exp: Add comment.
Index: testsuite/libstdc++.tests/tests.exp
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/testsuite/libstdc++.tests/tests.exp,v
retrieving revision 1.3
diff -p -r1.3 tests.exp
*** tests.exp 2001/05/01 15:01:50 1.3
--- tests.exp 2001/05/01 17:23:28
*************** libstdc++-dg-init
*** 26,31 ****
--- 26,33 ----
## Set ulimits. This should normally be handled on test-by-test
## basis through @xxx@-keywords.
+ ## The following limit is expressed in kilobytes. For history, Have a
+ ## look at http://gcc.gnu.org/ml/libstdc++/2000-10/msg00029.html
set maximum-memory-usage 16384
set shell-ulimit-command ulimit
remote_exec host ${shell-ulimit-command} "-d ${maximum-memory-usage}"