diff options
author | Ian Lynagh <igloo@earth.li> | 2011-09-01 22:43:50 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-09-01 22:43:50 +0100 |
commit | e8f1741fd7050489e0880e11f68834e7bc3a2a67 (patch) | |
tree | de289c817b762d5a4fb51884cfeb08ea6db003ef /testsuite/tests/rts/Makefile | |
parent | 8dd8177370b34bd963a3fcab327b4ec6317d1210 (diff) | |
download | haskell-e8f1741fd7050489e0880e11f68834e7bc3a2a67.tar.gz |
Tweak the outofmem and outofmem2 tests
Just a small tidyup, and stops them both writing to prep.out.
Diffstat (limited to 'testsuite/tests/rts/Makefile')
-rw-r--r-- | testsuite/tests/rts/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/rts/Makefile b/testsuite/tests/rts/Makefile index 4a65b487fa..920230f7a1 100644 --- a/testsuite/tests/rts/Makefile +++ b/testsuite/tests/rts/Makefile @@ -3,17 +3,17 @@ include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/test.mk outofmem-prep:: - '$(TEST_HC)' $(TEST_HC_OPTS) --make -fforce-recomp outofmem.hs -o outofmem + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make -fforce-recomp outofmem.hs -o outofmem outofmem:: - @$(MAKE) outofmem-prep >prep.out 2>prep.out + @$(MAKE) outofmem-prep @ulimit -v 10000000 2>/dev/null; ./outofmem || echo "exit($$?)" outofmem2-prep:: - '$(TEST_HC)' $(TEST_HC_OPTS) -rtsopts --make -fforce-recomp outofmem2.hs -o outofmem2 + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -rtsopts --make -fforce-recomp outofmem2.hs -o outofmem2 outofmem2:: - @$(MAKE) outofmem2-prep >prep.out 2>prep.out + @$(MAKE) outofmem2-prep @ulimit -v 1000000 2>/dev/null; ./outofmem2 +RTS -M5m -RTS || echo "exit($$?)" T2615-prep: |