diff options
author | Gabriel Dos Reis <gdr@codesourcery.com> | 2001-05-01 15:01:50 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-05-01 15:01:50 +0000 |
commit | 55a0ab4ac6266a5f1487faebef41c3bf3b502c66 (patch) | |
tree | 44c843b3b84c10f57189f0aeb106b6e1d1e3d08d | |
parent | 07dd196a5c10e14893546a53b72f43841b861a8f (diff) | |
download | gcc-55a0ab4ac6266a5f1487faebef41c3bf3b502c66.zip gcc-55a0ab4ac6266a5f1487faebef41c3bf3b502c66.tar.gz gcc-55a0ab4ac6266a5f1487faebef41c3bf3b502c66.tar.bz2 |
* testsuite/libstdc++.tests/tests.exp: Set ulimits.
From-SVN: r41727
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/libstdc++.tests/tests.exp | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b0646a9..8350051 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. diff --git a/libstdc++-v3/testsuite/libstdc++.tests/tests.exp b/libstdc++-v3/testsuite/libstdc++.tests/tests.exp index 6077c12..c3a66f5 100644 --- a/libstdc++-v3/testsuite/libstdc++.tests/tests.exp +++ b/libstdc++-v3/testsuite/libstdc++.tests/tests.exp @@ -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 |