summaryrefslogtreecommitdiffstats
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
commit4cc0cae46c903565394c1092ac7febd88a9f12fa (patch)
tree49db6ada5ed015ccfd2729efece405e60d7d86d1
parentd4f5537c5e7463b902ba7e736e84de0386d184a1 (diff)
downloadbcm5719-llvm-4cc0cae46c903565394c1092ac7febd88a9f12fa.tar.gz
bcm5719-llvm-4cc0cae46c903565394c1092ac7febd88a9f12fa.zip
Add more ulimit limits, to catch more kinds of runaway behavior.
llvm-svn: 69847
-rw-r--r--llvm/test/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Makefile b/llvm/test/Makefile
index 8ba4f335411..82422b551d7 100644
--- a/llvm/test/Makefile
+++ b/llvm/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
OpenPOWER on IntegriCloud