[llvm-commits] [llvm] r69847 - /llvm/trunk/test/Makefile

Dan Gohman gohman at apple.com
Wed Apr 22 17:28:33 PDT 2009


Author: djg
Date: Wed Apr 22 19:28:31 2009
New Revision: 69847

URL: http://llvm.org/viewvc/llvm-project?rev=69847&view=rev
Log:
Add more ulimit limits, to catch more kinds of runaway behavior.

Modified:
    llvm/trunk/test/Makefile

Modified: llvm/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Makefile?rev=69847&r1=69846&r2=69847&view=diff

==============================================================================
--- llvm/trunk/test/Makefile (original)
+++ llvm/trunk/test/Makefile Wed Apr 22 19:28:31 2009
@@ -51,6 +51,7 @@
 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 @@
 	  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





More information about the llvm-commits mailing list