mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-29 14:40:39 +00:00
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
This commit is contained in:
parent
3f7c72ab54
commit
ab192b71a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user