diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-01-10 12:18:21 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-01-26 19:45:58 -0500 |
commit | b5132f8659744303300a442212ccec4cba191e29 (patch) | |
tree | c231eae36cf34f72a58e77f8f1ce6b527b21b509 | |
parent | c61ac4d86f8b0746eae1ee3783f758ececc950be (diff) | |
download | haskell-b5132f8659744303300a442212ccec4cba191e29.tar.gz |
Pass config.stage argument to testsuite
-rw-r--r-- | hadrian/src/Settings/Builders/RunTest.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Builders/RunTest.hs b/hadrian/src/Settings/Builders/RunTest.hs index c994a7b018..19d22a394f 100644 --- a/hadrian/src/Settings/Builders/RunTest.hs +++ b/hadrian/src/Settings/Builders/RunTest.hs @@ -136,6 +136,7 @@ runTestBuilderArgs = builder Testsuite ? do , arg "-e", arg $ "config.os=" ++ show os , arg "-e", arg $ "config.arch=" ++ show arch , arg "-e", arg $ "config.platform=" ++ show platform + , arg "-e", arg $ "config.stage=" ++ show (fromEnum (C.stage ctx) + 1) , arg "--config", arg $ "gs=gs" -- Use the default value as in test.mk , arg "--config", arg $ "timeout_prog=" ++ show (top -/- timeoutProg) |