diff options
| -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 |
