OSDN Git Service

* testsuite/libstdc++.tests/tests.exp: Set ulimits.
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 May 2001 15:01:50 +0000 (15:01 +0000)
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 May 2001 15:01:50 +0000 (15:01 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41727 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/libstdc++.tests/tests.exp

index b0646a9..8350051 100644 (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.
index 6077c12..c3a66f5 100644 (file)
 
 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