summaryrefslogtreecommitdiff
path: root/testsuite/mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-02-29 13:49:05 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2016-02-29 13:51:34 +0100
commitf8a5dd05ed50fe46eb86f30dc12f4c341b980e61 (patch)
tree9443a69ef441aa878ee14eb84147f2e0b45c8b43 /testsuite/mk
parentde01de736ec927b4a3a77395e830c796b1bfb3cd (diff)
downloadhaskell-f8a5dd05ed50fe46eb86f30dc12f4c341b980e61.tar.gz
Only add -fshow-warning-groups for ghc >= 7.11 (#10752)
Diffstat (limited to 'testsuite/mk')
-rw-r--r--testsuite/mk/test.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk
index 97ceb39cb9..6d9a4c24cf 100644
--- a/testsuite/mk/test.mk
+++ b/testsuite/mk/test.mk
@@ -34,7 +34,7 @@ endif
# TEST_HC_OPTS is passed to every invocation of TEST_HC
# in nested Makefiles
-TEST_HC_OPTS = -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -fshow-warning-groups -no-user-$(GhcPackageDbFlag) -rtsopts $(EXTRA_HC_OPTS)
+TEST_HC_OPTS = -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-$(GhcPackageDbFlag) -rtsopts $(EXTRA_HC_OPTS)
# The warning suppression flag below is a temporary kludge. While working with
# tests that contain tabs, please de-tab them so this flag can be eventually
@@ -48,6 +48,7 @@ ifeq "$(MinGhcVersion711)" "YES"
# Don't warn about missing specialisations. They can only occur with `-O`, but
# we want tests to produce the same output for all test ways.
TEST_HC_OPTS += -fno-warn-missed-specialisations
+TEST_HC_OPTS += -fshow-warning-groups
endif
RUNTEST_OPTS =