summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@cs.brynmawr.edu>2018-07-12 16:21:54 -0400
committerRichard Eisenberg <rae@cs.brynmawr.edu>2018-07-14 21:23:30 -0400
commitb7d60022bfcfdeb5e27ba5a0575b2c229b36e21b (patch)
treed25c6ecbc2e468910b0c784ff5520b29afce667f /testsuite/tests/driver
parenta754a420b53cd2210ef60dcd695bf3334af2e400 (diff)
downloadhaskell-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/driver')
-rw-r--r--testsuite/tests/driver/T3007/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/driver/T3007/Makefile b/testsuite/tests/driver/T3007/Makefile
index 09db27a38f..52b3331af1 100644
--- a/testsuite/tests/driver/T3007/Makefile
+++ b/testsuite/tests/driver/T3007/Makefile
@@ -11,11 +11,11 @@ clean:
T3007:
$(MAKE) -s --no-print-directory clean
'$(GHC_PKG)' init package.conf
- cd A && '$(TEST_HC)' -v0 --make Setup
+ cd A && '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup
cd A && ./Setup configure -v0 --with-compiler='$(TEST_HC)' --ghc-pkg-option=--global-package-db=../package.conf --ghc-option=-package-db../package.conf
cd A && ./Setup build -v0
cd A && ./Setup register --inplace -v0
- cd B && '$(TEST_HC)' -v0 --make Setup
+ cd B && '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Setup
cd B && ./Setup configure -v0 --with-compiler='$(TEST_HC)' --ghc-pkg-option=--global-package-db=../package.conf --ghc-option=-package-db../package.conf
cd B && ./Setup build -v0