diff options
-rw-r--r-- | hadrian/src/Settings/Builders/RunTest.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Builders/RunTest.hs b/hadrian/src/Settings/Builders/RunTest.hs index 6188b644ea..8312592ff6 100644 --- a/hadrian/src/Settings/Builders/RunTest.hs +++ b/hadrian/src/Settings/Builders/RunTest.hs @@ -81,6 +81,7 @@ runTestBuilderArgs = builder RunTest ? do top <- expr $ topDirectory ghcFlags <- expr runTestGhcFlags timeoutProg <- expr buildRoot <&> (-/- timeoutPath) + integerLib <- expr (integerLibrary flav) let asZeroOne s b = s ++ zeroOne b @@ -110,6 +111,7 @@ runTestBuilderArgs = builder RunTest ? do , arg "-e", arg $ "config.ghc_dynamic_by_default=" ++ show hasDynamicByDefault , arg "-e", arg $ "config.ghc_dynamic=" ++ show hasDynamic + , arg "-e", arg $ "config.integer_backend=" ++ show (pkgName integerLib) -- Use default value, see: -- https://github.com/ghc/ghc/blob/master/testsuite/mk/boilerplate.mk |