* testsuite/libstdc++.tests/tests.exp: Set ulimits.

From-SVN: r41727
This commit is contained in:
Gabriel Dos Reis 2001-05-01 15:01:50 +00:00 committed by Gabriel Dos Reis
parent 07dd196a5c
commit 55a0ab4ac6
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
* testsuite/libstdc++.tests/tests.exp: Set ulimits.
2001-04-30 Mark Mitchell <mark@codesourcery.com>
* porting.texi: Use the GFDL.

View File

@ -21,7 +21,17 @@
load_lib libstdc++.exp
## Initialize the framework.
libstdc++-dg-init
## Set ulimits. This should normally be handled on test-by-test
## basis through @xxx@-keywords.
set maximum-memory-usage 16384
set shell-ulimit-command ulimit
remote_exec host ${shell-ulimit-command} "-d ${maximum-memory-usage}"
remote_exec host ${shell-ulimit-command} "-v ${maximum-memory-usage}"
## Now, do the work directory by directory
libstdc++_runtest [glob -nocomplain $srcdir/*]
dg-finish