diff options
Diffstat (limited to 'testsuite/tests/backpack/cabal/bkpcabal05/Makefile')
-rw-r--r-- | testsuite/tests/backpack/cabal/bkpcabal05/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/backpack/cabal/bkpcabal05/Makefile b/testsuite/tests/backpack/cabal/bkpcabal05/Makefile index d4c116bf32..b5a7fa5db1 100644 --- a/testsuite/tests/backpack/cabal/bkpcabal05/Makefile +++ b/testsuite/tests/backpack/cabal/bkpcabal05/Makefile @@ -5,6 +5,10 @@ include $(TOP)/mk/test.mk SETUP='$(PWD)/Setup' -v0 CONFIGURE=$(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --ghc-options='$(TEST_HC_OPTS)' --package-db='$(PWD)/tmp.d' --prefix='$(PWD)/inst' +# This test checks if recompilation works correctly when we change an +# hsig file which modifies the set of exported instances. Makes sure +# we track dependencies on instances from signatures correctly. + bkpcabal05: clean $(MAKE) -s --no-print-directory clean '$(GHC_PKG)' init tmp.d @@ -13,6 +17,7 @@ bkpcabal05: clean cp A.hsig.in1 A.hsig # typecheck $(SETUP) build + sleep 1 cp A.hsig.in2 A.hsig ! $(SETUP) build ifneq "$(CLEANUP)" "" |