summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver
diff options
context:
space:
mode:
authorPhil Ruffwind <rf@rufflewind.com>2016-12-09 15:43:02 -0500
committerBen Gamari <ben@smart-cactus.org>2016-12-09 16:38:46 -0500
commitd1df8d1c16b8f5bdf14ae41f514e38699f953054 (patch)
treebd5a8d2e0f6340d02d51a363115a8aa674d40471 /testsuite/tests/driver
parentca593c7d55f0e120f322faf74c39fd4d978a6c1d (diff)
downloadhaskell-d1df8d1c16b8f5bdf14ae41f514e38699f953054.tar.gz
Ensure each test inherits the TEST_HC_OPTS
This is so that global test flags that control the error formatting are propagated correctly. This patch is kind of related to: D2718 The stderr for API annotations is ignored entirely now per @alanz's suggestion. Test Plan: validate Reviewers: thomie, alanz, austin, bgamari Reviewed By: bgamari Subscribers: alanz Differential Revision: https://phabricator.haskell.org/D2808
Diffstat (limited to 'testsuite/tests/driver')
-rw-r--r--testsuite/tests/driver/T1372/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/driver/T1372/Makefile b/testsuite/tests/driver/T1372/Makefile
index 31e1c15b81..34d22ab42e 100644
--- a/testsuite/tests/driver/T1372/Makefile
+++ b/testsuite/tests/driver/T1372/Makefile
@@ -31,7 +31,7 @@ prep:
prep.%:
cd $* && "$(TEST_HC)" $(TEST_HC_OPTS) -v0 --make -o setup Setup.hs
- cd $* && ./setup configure $(CABAL_MINIMAL_BUILD) -v0 --with-compiler="$(TEST_HC)" --with-hc-pkg="$(GHC_PKG)" --package-db=../$(LOCAL_PKGCONF)
+ cd $* && ./setup configure $(CABAL_MINIMAL_BUILD) -v0 --with-compiler="$(TEST_HC)" --ghc-options="$(TEST_HC_OPTS)" --with-hc-pkg="$(GHC_PKG)" --package-db=../$(LOCAL_PKGCONF)
cd $* && ./setup build -v0
cd $* && ./setup register -v0 --inplace