From 506285e560df4f2d4a32a00eb438f9de852507fa Mon Sep 17 00:00:00 2001 From: gdr Date: Tue, 1 May 2001 15:01:50 +0000 Subject: [PATCH] * testsuite/libstdc++.tests/tests.exp: Set ulimits. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41727 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/testsuite/libstdc++.tests/tests.exp | 10 ++++++++++ 2 files changed, 14 insertions(+) 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 + + * testsuite/libstdc++.tests/tests.exp: Set ulimits. + 2001-04-30 Mark Mitchell * 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 -- 2.7.4