Tweak the outofmem and outofmem2 tests
authorIan Lynagh <igloo@earth.li>
Thu, 1 Sep 2011 21:43:50 +0000 (22:43 +0100)
committerIan Lynagh <igloo@earth.li>
Thu, 1 Sep 2011 21:43:50 +0000 (22:43 +0100)
Just a small tidyup, and stops them both writing to prep.out.

testsuite/tests/rts/Makefile

index 4a65b48..920230f 100644 (file)
@@ -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: