This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: V3 PATCH: set limits in DejaGnu-based framework


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}"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]