From 82f7f1820a175e7e07cbac0ab6d5a9ecddc8acc0 Mon Sep 17 00:00:00 2001 From: Thomas Miedema Date: Sat, 18 Jun 2016 19:45:22 +0200 Subject: 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. --- testsuite/tests/driver/recomp012/Makefile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'testsuite/tests/driver/recomp012') diff --git a/testsuite/tests/driver/recomp012/Makefile b/testsuite/tests/driver/recomp012/Makefile index 180f08ddd8..83a745f641 100644 --- a/testsuite/tests/driver/recomp012/Makefile +++ b/testsuite/tests/driver/recomp012/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)) - # Recompilation tests clean: @@ -19,12 +15,12 @@ recomp012: clean echo 'module MyBool where data MyBool = MyFalse | MyTrue deriving Show' >MyBool.hs echo 'module Foo where import MyBool; foo = MyFalse' > Foo.hs echo 'import Foo; main = print foo' > Main.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 -c -O2 MyBool.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 -c -O2 Foo.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 -O2 Main.hs + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -c -O2 MyBool.hs + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -c -O2 Foo.hs + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -O2 Main.hs ./Main sleep 1 echo 'module Foo where import MyBool; foo = MyTrue' > Foo.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 -c -O2 Foo.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -v0 -O2 Main.hs + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -c -O2 Foo.hs + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 -O2 Main.hs ./Main -- cgit v1.2.1