1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

For PR1196:

Prevent infinite loops and memory bombs by setting a ulimit on time and
space for running the dejagnu tests.

llvm-svn: 34184
This commit is contained in:
Reid Spencer 2007-02-11 20:18:32 +00:00
parent 3a9d38035f
commit 49f69b79db

View File

@ -34,8 +34,9 @@ endif
ifneq ($(RUNTEST),)
check-local:: site.exp
PATH="$(LLVMToolDir):$(LLVMExmplDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
$(RUNTEST) $(RUNTESTFLAGS)
( ulimit -t 600 ; ulimit -d 512000 ; \
PATH="$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
$(RUNTEST) $(RUNTESTFLAGS) )
else
check-local:: site.exp
@echo "*** dejagnu not found. Make sure runtest is in your PATH, then reconfigure llvm."