summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/recomp004
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/recomp004
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/recomp004')
-rw-r--r--testsuite/tests/driver/recomp004/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/testsuite/tests/driver/recomp004/Makefile b/testsuite/tests/driver/recomp004/Makefile
index dca4eb5ecf..4ad51d8f60 100644
--- a/testsuite/tests/driver/recomp004/Makefile
+++ b/testsuite/tests/driver/recomp004/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))
-
EXECUTABLE = MainX$(exeext)
CLEAN_FILES = c.c c.o MainX.o MainX.hi $(EXECUTABLE)
@@ -17,13 +13,13 @@ recomp004:
$(RM) $(CLEAN_FILES)
$(CP) c1.c c.c
$(CP) Main.hs MainX.hs
- '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 -c c.c -o c.o
- '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 --make MainX.hs c.o -o $(EXECUTABLE)
+ '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -c c.c -o c.o
+ '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make MainX.hs c.o -o $(EXECUTABLE)
./$(EXECUTABLE)
$(CP) c2.c c.c
- '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 -c c.c -o c.o
+ '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -c c.c -o c.o
# Hack to make sure c.o is really newer
touch -t 01010000 MainX.hs MainX.hi MainX.o c.c $(EXECUTABLE)
- '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 --make MainX.hs c.o -o $(EXECUTABLE)
+ '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make MainX.hs c.o -o $(EXECUTABLE)
./$(EXECUTABLE)