aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-04-23 00:28:31 +0000
committerDan Gohman <gohman@apple.com>2009-04-23 00:28:31 +0000
commitab192b71a63ddf96b1528bc1e80d21b2aa8656a8 (patch)
tree4cbaa7515520884b0fddd364401c6b766053160f /test/Makefile
parent3f7c72ab548b534cd0c4efa070c6de07dbed69f9 (diff)
Add more ulimit limits, to catch more kinds of runaway behavior.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 8ba4f33541..82422b551d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -51,6 +51,7 @@ endif
ifneq ($(RUNTEST),)
check-local:: site.exp
( ulimit -t 600 ; ulimit -d 512000 ; \
+ ulimit -m 512000 ; ulimit -v 512000 ; \
PATH="$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
$(RUNTEST) $(RUNTESTFLAGS) )
else
@@ -74,6 +75,7 @@ check-one: site.exp $(TCLSH)
echo "source $(LLVM_SRC_ROOT)/test/lib/llvm.exp" ; \
echo "RunLLVMTests $(TESTPATH)" ) | \
( ulimit -t 600 ; ulimit -d 512000 ; \
+ ulimit -m 512000 ; ulimit -v 512000 ; \
PATH="$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
$(TCLSH) )
endif