summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2020-02-27 15:22:22 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-22 22:37:47 -0400
commitdc1eb10dae03f3fe5f11de845c6772c229684c28 (patch)
tree10bd39a107966b62f33c66dab5f16e7ff19ea3d3 /hadrian
parentaadcd909563d5ddf7b2fc469ee3c09c301b1a813 (diff)
downloadhaskell-dc1eb10dae03f3fe5f11de845c6772c229684c28.tar.gz
hadrian: Fix executable extension passed to testsuite driver
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Settings/Builders/RunTest.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Builders/RunTest.hs b/hadrian/src/Settings/Builders/RunTest.hs
index 9d18777a03..5e80f18efd 100644
--- a/hadrian/src/Settings/Builders/RunTest.hs
+++ b/hadrian/src/Settings/Builders/RunTest.hs
@@ -106,7 +106,7 @@ runTestBuilderArgs = builder RunTest ? do
, arg "-e", arg $ "config.accept=" ++ show accept
, arg "-e", arg $ "config.accept_platform=" ++ show acceptPlatform
, arg "-e", arg $ "config.accept_os=" ++ show acceptOS
- , arg "-e", arg $ "config.exeext=" ++ quote exe
+ , arg "-e", arg $ "config.exeext=" ++ quote (if null exe then "" else "."<>exe)
, arg "-e", arg $ "config.compiler_debugged=" ++
show debugged
, arg "-e", arg $ asBool "ghc_with_native_codegen=" withNativeCodeGen