Increase the CPU time timeout for testing from 10 to 20 minutes, to

compensate for slow machines, and the growing number of tests.

Prodded by:	Hans Wennborg

llvm-svn: 229143
This commit is contained in:
Dimitry Andric 2015-02-13 19:45:19 +00:00
parent 9d26f6462e
commit 31421fba87
1 changed files with 2 additions and 2 deletions

View File

@ -85,13 +85,13 @@ endif
# just removing them here won't work. # just removing them here won't work.
# Solaris does not have the -m flag for ulimit # Solaris does not have the -m flag for ulimit
ifeq ($(HOST_OS),SunOS) ifeq ($(HOST_OS),SunOS)
ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -v 512000 ; ULIMIT=ulimit -t 1200 ; ulimit -d 512000 ; ulimit -v 512000 ;
else # !SunOS else # !SunOS
# Newer versions of python try to allocate an insane amount of address space for # Newer versions of python try to allocate an insane amount of address space for
# its thread-local storage, don't set a limit here. # its thread-local storage, don't set a limit here.
# When -v is not used, then -s has to be used to limit the stack size. # When -v is not used, then -s has to be used to limit the stack size.
# FIXME: Those limits should be enforced by lit instead of globally. # FIXME: Those limits should be enforced by lit instead of globally.
ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -s 8192 ; ULIMIT=ulimit -t 1200 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -s 8192 ;
endif # SunOS endif # SunOS
check-local:: lit.site.cfg Unit/lit.site.cfg check-local:: lit.site.cfg Unit/lit.site.cfg