diff options
author | Ian Lynagh <igloo@earth.li> | 2011-11-18 17:43:29 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-11-18 17:59:06 +0000 |
commit | b13a599ad124caff1e816cb4d7839a2a5717904b (patch) | |
tree | 69b660636cb9cd478a50ca9475e1cbe57a68673f /testsuite/tests/driver/recomp005 | |
parent | 0c8af703c28151e66f89e691253ec0b8eb4e7436 (diff) | |
download | haskell-b13a599ad124caff1e816cb4d7839a2a5717904b.tar.gz |
Filter -fforce-recomp out of TEST_HC_OPTS in the driver tests
It would make lots of them trivially pass
Diffstat (limited to 'testsuite/tests/driver/recomp005')
-rw-r--r-- | testsuite/tests/driver/recomp005/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/tests/driver/recomp005/Makefile b/testsuite/tests/driver/recomp005/Makefile index e1bda204b7..5b7b256c6a 100644 --- a/testsuite/tests/driver/recomp005/Makefile +++ b/testsuite/tests/driver/recomp005/Makefile @@ -2,6 +2,10 @@ TOP=../../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/test.mk +# -fforce-recomp makes lots of driver tests trivially pass, so we +# filter it out from $(TEST_HC_OPTS). +TEST_HC_OPTS_NO_RECOMP = $(filter-out -fforce-recomp,$(TEST_HC_OPTS)) + clean: rm -f *.o* rm -f *.hi* @@ -9,8 +13,8 @@ clean: recomp005: clean cp C1.hs C.hs - '$(TEST_HC)' $(TEST_HC_OPTS) --make E.hs -O + '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make E.hs -O sleep 1 cp C2.hs C.hs # Should recompile E, because C is now an orphan - '$(TEST_HC)' $(TEST_HC_OPTS) --make E.hs -O + '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make E.hs -O |