diff options
author | Ben Gamari <ben@smart-cactus.org> | 2018-12-14 15:11:54 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-12-14 19:49:28 -0500 |
commit | 442be690e1ca162e22d632df695c29f90625f33e (patch) | |
tree | a2776e7367fa9468bf5d9da78a9396740fea5386 /hadrian | |
parent | a1c0b70638949a73bbd404c11797f2edf28f5965 (diff) | |
download | haskell-442be690e1ca162e22d632df695c29f90625f33e.tar.gz |
hadrian: Pass integer_backend to testsuite driver
Diffstat (limited to 'hadrian')
-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 |