summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-05-11 08:29:31 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2021-05-11 08:30:10 +0100
commit4d5cf3e7e8eb3d178dfee50df01325dcca8a0e57 (patch)
tree7a1993952d80378efebe0a343095737965376f30
parent736d47ffb7370ba4348b142c913b88e4c82347d0 (diff)
downloadhaskell-wip/t19239.tar.gz
hadrian: Fix dynamic+debug flag combination for check-ppr executablewip/t19239
-rw-r--r--hadrian/src/Rules/Test.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/src/Rules/Test.hs b/hadrian/src/Rules/Test.hs
index c104f4b847..0a120d1e12 100644
--- a/hadrian/src/Rules/Test.hs
+++ b/hadrian/src/Rules/Test.hs
@@ -90,9 +90,9 @@ testRules = do
-- If GHC is build with debug options, then build check-ppr
-- also with debug options. This allows, e.g., to print debug
-- messages of various RTS subsystems while using check-ppr.
- if debugged then ["-debug"] else [] ++
+ (if debugged then ["-debug"] else []) ++
-- If GHC is build dynamic, then build check-ppr also dynamic.
- if dynPrograms then ["-dynamic"] else []
+ (if dynPrograms then ["-dynamic"] else [])
root -/- ghcConfigPath %> \_ -> do
args <- userSetting defaultTestArgs