diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-18 19:45:22 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-20 16:22:07 +0200 |
commit | 82f7f1820a175e7e07cbac0ab6d5a9ecddc8acc0 (patch) | |
tree | 673c36d366a3963bcf3683e6e16439bc3c23ae20 /testsuite/tests/driver/recomp012 | |
parent | 3b49f8faa1cbd3a04f1d6aa817a315a853e0cd79 (diff) | |
download | haskell-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/recomp012')
-rw-r--r-- | testsuite/tests/driver/recomp012/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
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 |