From 3b49f8faa1cbd3a04f1d6aa817a315a853e0cd79 Mon Sep 17 00:00:00 2001 From: Thomas Miedema Date: Sat, 18 Jun 2016 19:00:15 +0200 Subject: Testsuite: remove `-fforce-recomp` from default flags (#11980) There is no need for this flag anymore, since each test runs in a newly created directory. Removing it cleans up testlib.py a bit. There is a small risk that this renders some tests useless. It's hard to know. Those tests should have specified -fforce-recomp` explicitly anyway, so I'm not going to worry about it. I've fixed the ones that failed without -fforce-recomp. Reviewed by: bgamari Differential Revision: https://phabricator.haskell.org/D2346 --- testsuite/tests/cabal/cabal08/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/tests/cabal') diff --git a/testsuite/tests/cabal/cabal08/Makefile b/testsuite/tests/cabal/cabal08/Makefile index 2d6ad9500c..d01578db5f 100644 --- a/testsuite/tests/cabal/cabal08/Makefile +++ b/testsuite/tests/cabal/cabal08/Makefile @@ -22,7 +22,7 @@ cabal08: clean cd p2 && $(SETUP) register '$(TEST_HC)' $(TEST_HC_OPTS) -package-db tmp1.d -package-db tmp2.d Main.hs ./Main - '$(TEST_HC)' $(TEST_HC_OPTS) -package-db tmp1.d -package-db tmp2.d -hide-all-packages -package base -package p Main.hs + '$(TEST_HC)' $(TEST_HC_OPTS) -fforce-recomp -package-db tmp1.d -package-db tmp2.d -hide-all-packages -package base -package p Main.hs ./Main ifneq "$(CLEANUP)" "" $(MAKE) -s --no-print-directory clean -- cgit v1.2.1