[Git][ghc/ghc][master] hadrian: Don't quote metric baseline argument

Marge Bot gitlab at gitlab.haskell.org
Thu Oct 29 01:11:44 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
60322f93 by Ben Gamari at 2020-10-28T21:11:39-04:00
hadrian: Don't quote metric baseline argument

Previously this was quoted inappropriately.
- - - - -


1 changed file:

- hadrian/src/Settings/Builders/RunTest.hs


Changes:

=====================================
hadrian/src/Settings/Builders/RunTest.hs
=====================================
@@ -140,7 +140,7 @@ runTestBuilderArgs = builder RunTest ? do
             , arg "--config", arg $ "stats_files_dir=" ++ statsFilesDir
             , arg $ "--threads=" ++ show threads
             , case perfBaseline of
-                Just commit | not (null commit) -> arg ("--perf-baseline=" ++ show commit)
+                Just commit | not (null commit) -> arg ("--perf-baseline=" ++ commit)
                 _ -> mempty
             , emitWhenSet testEnv $ \env -> arg ("--test-env=" ++ env)
             , emitWhenSet testMetricsFile $ \file -> arg ("--metrics-file=" ++ file)



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/60322f930c544fabd7e68231db26e3a1fb8ed037

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/60322f930c544fabd7e68231db26e3a1fb8ed037
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201028/3271da43/attachment.html>


More information about the ghc-commits mailing list