summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/recomp006
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-06-18 19:45:22 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-06-20 16:22:07 +0200
commit82f7f1820a175e7e07cbac0ab6d5a9ecddc8acc0 (patch)
tree673c36d366a3963bcf3683e6e16439bc3c23ae20 /testsuite/tests/driver/recomp006
parent3b49f8faa1cbd3a04f1d6aa817a315a853e0cd79 (diff)
downloadhaskell-82f7f1820a175e7e07cbac0ab6d5a9ecddc8acc0.tar.gz
Testsuite: delete TEST_HC_OPTS_NO_RECOMP
The previous commits removed `-fforce-recomp` from TEST_HC_OPTS, so TEST_HC_OPTS_NO_RECOMP = TEST_HC_OPTS.
Diffstat (limited to 'testsuite/tests/driver/recomp006')
-rw-r--r--testsuite/tests/driver/recomp006/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/testsuite/tests/driver/recomp006/Makefile b/testsuite/tests/driver/recomp006/Makefile
index 839dbf0008..a0f55d636d 100644
--- a/testsuite/tests/driver/recomp006/Makefile
+++ b/testsuite/tests/driver/recomp006/Makefile
@@ -2,10 +2,6 @@ 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))
-
OBJSUFFIX = .o
# Test that changing the fixity of a type synonym operator forces recompilation
@@ -13,8 +9,8 @@ OBJSUFFIX = .o
recomp006:
$(RM) A.hi A$(OBJSUFFIX)
cp B1.hs B.hs
- '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make A.hs 1>out 2>err
+ '$(TEST_HC)' $(TEST_HC_OPTS) --make A.hs 1>out 2>err
sleep 1
cp B2.hs B.hs
# This should fail
- if '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make A.hs; then false; fi
+ if '$(TEST_HC)' $(TEST_HC_OPTS) --make A.hs; then false; fi