diff options
author | Richard Eisenberg <rae@cs.brynmawr.edu> | 2018-07-12 16:21:54 -0400 |
---|---|---|
committer | Richard Eisenberg <rae@cs.brynmawr.edu> | 2018-07-14 21:23:30 -0400 |
commit | b7d60022bfcfdeb5e27ba5a0575b2c229b36e21b (patch) | |
tree | d25c6ecbc2e468910b0c784ff5520b29afce667f /testsuite/tests/backpack | |
parent | a754a420b53cd2210ef60dcd695bf3334af2e400 (diff) | |
download | haskell-b7d60022bfcfdeb5e27ba5a0575b2c229b36e21b.tar.gz |
Make some tests robust against DEBUG compiler
Several tests were failing in DEBUG mode, but fixing this
was easy: just pass $(TEST_HC_OPTS) in the relevant
Makefiles.
Diffstat (limited to 'testsuite/tests/backpack')
8 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/tests/backpack/cabal/T14304/Makefile b/testsuite/tests/backpack/cabal/T14304/Makefile index 1f58184198..6f2394ff47 100644 --- a/testsuite/tests/backpack/cabal/T14304/Makefile +++ b/testsuite/tests/backpack/cabal/T14304/Makefile @@ -8,7 +8,7 @@ CONFIGURE=$(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --gh T14304: clean $(MAKE) -s --no-print-directory clean '$(GHC_PKG)' init tmp.d - '$(TEST_HC)' -v0 --make Setup + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup # typecheck indef rm -rf indef/dist (cd indef; $(CONFIGURE) --ipid "indef-0.1") diff --git a/testsuite/tests/backpack/cabal/bkpcabal01/Makefile b/testsuite/tests/backpack/cabal/bkpcabal01/Makefile index e67707f645..01744dae01 100644 --- a/testsuite/tests/backpack/cabal/bkpcabal01/Makefile +++ b/testsuite/tests/backpack/cabal/bkpcabal01/Makefile @@ -8,7 +8,7 @@ CONFIGURE=$(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --gh bkpcabal01: clean $(MAKE) -s --no-print-directory clean '$(GHC_PKG)' init tmp.d - '$(TEST_HC)' -v0 --make Setup + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup cp p/P.hs.in1 p/P.hs cp q/Q.hs.in1 q/Q.hs # typecheck p diff --git a/testsuite/tests/backpack/cabal/bkpcabal02/Makefile b/testsuite/tests/backpack/cabal/bkpcabal02/Makefile index 4856c2ca5b..3fd073ac1c 100644 --- a/testsuite/tests/backpack/cabal/bkpcabal02/Makefile +++ b/testsuite/tests/backpack/cabal/bkpcabal02/Makefile @@ -8,7 +8,7 @@ CONFIGURE=$(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --gh bkpcabal02: clean $(MAKE) -s --no-print-directory clean '$(GHC_PKG)' init tmp.d - '$(TEST_HC)' -v0 --make Setup + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup # Here is a working signature which this # package can typecheck with cp p/H.hsig.in1 p/H.hsig diff --git a/testsuite/tests/backpack/cabal/bkpcabal03/Makefile b/testsuite/tests/backpack/cabal/bkpcabal03/Makefile index d5c39e4a21..5521264ead 100644 --- a/testsuite/tests/backpack/cabal/bkpcabal03/Makefile +++ b/testsuite/tests/backpack/cabal/bkpcabal03/Makefile @@ -8,7 +8,7 @@ CONFIGURE=$(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --gh bkpcabal03: clean $(MAKE) -s --no-print-directory clean '$(GHC_PKG)' init tmp.d - '$(TEST_HC)' -v0 --make Setup + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup cp bkpcabal03.cabal.in1 bkpcabal03.cabal # typecheck asig1 (cd asig1; $(CONFIGURE) --cid "asig1" asig1) diff --git a/testsuite/tests/backpack/cabal/bkpcabal04/Makefile b/testsuite/tests/backpack/cabal/bkpcabal04/Makefile index 0e81107d9e..dd50e61bd4 100644 --- a/testsuite/tests/backpack/cabal/bkpcabal04/Makefile +++ b/testsuite/tests/backpack/cabal/bkpcabal04/Makefile @@ -8,7 +8,7 @@ CONFIGURE=$(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --gh bkpcabal04: clean $(MAKE) -s --no-print-directory clean '$(GHC_PKG)' init tmp.d - '$(TEST_HC)' -v0 --make Setup + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup cp bkpcabal04.cabal.in1 bkpcabal04.cabal cp q/B.hsig.in q/B.hsig # typecheck diff --git a/testsuite/tests/backpack/cabal/bkpcabal05/Makefile b/testsuite/tests/backpack/cabal/bkpcabal05/Makefile index b5a7fa5db1..0679feee6a 100644 --- a/testsuite/tests/backpack/cabal/bkpcabal05/Makefile +++ b/testsuite/tests/backpack/cabal/bkpcabal05/Makefile @@ -12,7 +12,7 @@ CONFIGURE=$(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --gh bkpcabal05: clean $(MAKE) -s --no-print-directory clean '$(GHC_PKG)' init tmp.d - '$(TEST_HC)' -v0 --make Setup + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup $(CONFIGURE) cp A.hsig.in1 A.hsig # typecheck diff --git a/testsuite/tests/backpack/cabal/bkpcabal06/Makefile b/testsuite/tests/backpack/cabal/bkpcabal06/Makefile index 29f1456e63..aa379dc2c4 100644 --- a/testsuite/tests/backpack/cabal/bkpcabal06/Makefile +++ b/testsuite/tests/backpack/cabal/bkpcabal06/Makefile @@ -12,7 +12,7 @@ CONFIGURE=$(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --gh bkpcabal06: clean $(MAKE) -s --no-print-directory clean '$(GHC_PKG)' init tmp.d - '$(TEST_HC)' -v0 --make Setup + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup $(CONFIGURE) cp impl/P.hs.in1 impl/P.hs $(SETUP) build diff --git a/testsuite/tests/backpack/cabal/bkpcabal07/Makefile b/testsuite/tests/backpack/cabal/bkpcabal07/Makefile index a83f4b9128..346ac32219 100644 --- a/testsuite/tests/backpack/cabal/bkpcabal07/Makefile +++ b/testsuite/tests/backpack/cabal/bkpcabal07/Makefile @@ -11,7 +11,7 @@ CONFIGURE=$(SETUP) configure $(CABAL_MINIMAL_BUILD) --with-ghc='$(TEST_HC)' --gh bkpcabal07: clean $(MAKE) -s --no-print-directory clean '$(GHC_PKG)' init tmp.d - '$(TEST_HC)' -v0 --make Setup + '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup $(CONFIGURE) $(SETUP) build ifneq "$(CLEANUP)" "" |