Commit 442be690 authored by Ben Gamari's avatar Ben Gamari 🐢

hadrian: Pass integer_backend to testsuite driver

parent a1c0b706
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment