summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorAlp Mestanogullari <alp@well-typed.com>2019-11-08 11:49:23 -0500
committerBen Gamari <ben@smart-cactus.org>2019-11-11 08:49:01 -0500
commit644334289eea0dd87380744a271d3b1d27902abb (patch)
treedabcaec0301e5893cfc07f2c93bd7894e792ceac /hadrian
parent049d9ae08821fbfcadb2be708f57143ec0efd73b (diff)
downloadhaskell-644334289eea0dd87380744a271d3b1d27902abb.tar.gz
hadrian: export METRICS_FILE to make it accessible to perf notes script
This addresses #17456 and also fixes the --metrics-file argument that Hadrian passes to the testsuite driver.
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Settings/Builders/RunTest.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/hadrian/src/Settings/Builders/RunTest.hs b/hadrian/src/Settings/Builders/RunTest.hs
index 96df86606e..a26092ef49 100644
--- a/hadrian/src/Settings/Builders/RunTest.hs
+++ b/hadrian/src/Settings/Builders/RunTest.hs
@@ -141,8 +141,7 @@ runTestBuilderArgs = builder RunTest ? do
, arg "--config", arg $ "stats_files_dir=" ++ statsFilesDir
, arg $ "--threads=" ++ show threads
, emitWhenSet testEnv $ \env -> arg ("--test-env=" ++ show env)
- , emitWhenSet testMetricsFile $ \file -> mconcat
- [ arg "--metrics-file", arg (show file) ]
+ , emitWhenSet testMetricsFile $ \file -> arg ("--metrics-file=" ++ file)
, getTestArgs -- User-provided arguments from command line.
]