summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/recomp002
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-11-18 17:43:29 +0000
committerIan Lynagh <igloo@earth.li>2011-11-18 17:59:06 +0000
commitb13a599ad124caff1e816cb4d7839a2a5717904b (patch)
tree69b660636cb9cd478a50ca9475e1cbe57a68673f /testsuite/tests/driver/recomp002
parent0c8af703c28151e66f89e691253ec0b8eb4e7436 (diff)
downloadhaskell-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/recomp002')
-rw-r--r--testsuite/tests/driver/recomp002/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/tests/driver/recomp002/Makefile b/testsuite/tests/driver/recomp002/Makefile
index 0dd8f47ca4..f2cd3d55dc 100644
--- a/testsuite/tests/driver/recomp002/Makefile
+++ b/testsuite/tests/driver/recomp002/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))
+
# Recompilation tests
clean:
@@ -11,6 +15,6 @@ clean:
# Only the first invocation should print any "Compiling" messages
recomp002: clean
- '$(TEST_HC)' $(TEST_HC_OPTS) --make Q.hs
+ '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make Q.hs
echo Middle >&2
- '$(TEST_HC)' $(TEST_HC_OPTS) --make Q.hs
+ '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make Q.hs