diff options
author | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2013-03-12 12:38:10 +0000 |
---|---|---|
committer | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2013-03-12 12:38:10 +0000 |
commit | 775a266415e293c4e5ab1ed3e006823bba68a872 (patch) | |
tree | 200d6f0bcde3f5fbc93fcb1c8095a3fad039d1fb /test/Makefile | |
parent | 29da043ae3a680f96021f1ed02dcbfe0b824c2bf (diff) |
In r169695, the address space limit for tests was replaced with a data
segment limit. Now, as a complement, add a stack space limit.
Otherwise, tests may grow undesirable large at inifinite
recursion. (Seen at r176838,
test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index b7b873c813..bd6b672dd3 100644 --- a/test/Makefile +++ b/test/Makefile @@ -75,8 +75,9 @@ ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -v 512000 ; else # !AuroraUX # Newer versions of python try to allocate an insane amount of address space for # 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. # FIXME: Those limits should be enforced by lit instead of globally. -ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; +ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -s 8192 ; endif # AuroraUX endif # SunOS |