diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2023-01-11 21:09:34 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-01-18 01:55:45 -0500 |
commit | ee9b78aa17e1eb81b3c4aa6a5ce324de49530e92 (patch) | |
tree | eb2070f1c908b7fa0f20d5ebb19a0c2e18f971f0 /hadrian/src | |
parent | 06036d931f51554305ba10add47e702d959619be (diff) | |
download | haskell-ee9b78aa17e1eb81b3c4aa6a5ce324de49530e92.tar.gz |
Use -Wdefault when running Python testdriver (#22727)
Diffstat (limited to 'hadrian/src')
-rw-r--r-- | hadrian/src/Settings/Builders/RunTest.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hadrian/src/Settings/Builders/RunTest.hs b/hadrian/src/Settings/Builders/RunTest.hs index 78099544d9..a3f7039299 100644 --- a/hadrian/src/Settings/Builders/RunTest.hs +++ b/hadrian/src/Settings/Builders/RunTest.hs @@ -181,7 +181,7 @@ assertSameCompilerArgs stg = do ] --- Command line arguments for invoking the @runtest.py@ script. A lot of this +-- Command line arguments for invoking the @runtests.py@ script. A lot of this -- mirrors @testsuite/mk/test.mk@. runTestBuilderArgs :: Args runTestBuilderArgs = builder Testsuite ? do @@ -227,7 +227,8 @@ runTestBuilderArgs = builder Testsuite ? do asBool s b = s ++ show b -- TODO: set CABAL_MINIMAL_BUILD/CABAL_PLUGIN_BUILD - mconcat [ arg $ "testsuite/driver/runtests.py" + mconcat [ arg "-Wdefault" -- see #22727 + , arg $ "testsuite/driver/runtests.py" , pure [ "--rootdir=" ++ testdir | testdir <- rootdirs ] , arg "--top", arg (top -/- "testsuite") , arg "-e", arg $ "windows=" ++ show windowsHost |