diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2020-09-04 18:30:28 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-09-12 00:33:25 -0400 |
commit | 853d121acfcdae208e852edacac65a1b3e8cab83 (patch) | |
tree | ab6180a72c6013cf7044026373ebbe698470a0ef | |
parent | 389a668343c0d4f5fa095112ff98d0da6998e99d (diff) | |
download | haskell-853d121acfcdae208e852edacac65a1b3e8cab83.tar.gz |
Don't quote argument to Hadrian's test-env flag (#18656)
Doing so causes the name of the test environment to gain an extra
set of double quotes, which changes the name entirely.
Fixes #18656.
-rw-r--r-- | hadrian/src/Settings/Builders/RunTest.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Builders/RunTest.hs b/hadrian/src/Settings/Builders/RunTest.hs index f1b3be9a25..3c42284152 100644 --- a/hadrian/src/Settings/Builders/RunTest.hs +++ b/hadrian/src/Settings/Builders/RunTest.hs @@ -142,7 +142,7 @@ runTestBuilderArgs = builder RunTest ? do , case perfBaseline of Just commit | not (null commit) -> arg ("--perf-baseline=" ++ show commit) _ -> mempty - , emitWhenSet testEnv $ \env -> arg ("--test-env=" ++ show env) + , emitWhenSet testEnv $ \env -> arg ("--test-env=" ++ env) , emitWhenSet testMetricsFile $ \file -> arg ("--metrics-file=" ++ file) , getTestArgs -- User-provided arguments from command line. ] |