Skip to content
Snippets Groups Projects
Unverified Commit d8ac8aaf authored by Matthew Pickering's avatar Matthew Pickering Committed by Zubin
Browse files

hadrian: Add exe suffix to executables in testsuite

(cherry picked from commit 45f05554)
parent 14f1b614
No related branches found
No related tags found
No related merge requests found
...@@ -179,12 +179,12 @@ getTestArgs = do ...@@ -179,12 +179,12 @@ getTestArgs = do
Just verbosity -> Just $ "--verbose=" ++ verbosity Just verbosity -> Just $ "--verbose=" ++ verbosity
wayArgs = map ("--way=" ++) (testWays args) wayArgs = map ("--way=" ++) (testWays args)
compilerArg = ["--config", "compiler=" ++ show (compiler)] compilerArg = ["--config", "compiler=" ++ show (compiler)]
ghcPkgArg = ["--config", "ghc_pkg=" ++ show (bindir -/- "ghc-pkg")] ghcPkgArg = ["--config", "ghc_pkg=" ++ show (bindir -/- "ghc-pkg" <.> exe)]
haddockArg = if haveDocs haddockArg = if haveDocs
then [ "--config", "haddock=" ++ show (bindir -/- "haddock") ] then [ "--config", "haddock=" ++ show (bindir -/- "haddock" <.> exe) ]
else [ "--config", "haddock=" ] else [ "--config", "haddock=" ]
hp2psArg = ["--config", "hp2ps=" ++ show (bindir -/- "hp2ps")] hp2psArg = ["--config", "hp2ps=" ++ show (bindir -/- "hp2ps" <.> exe)]
hpcArg = ["--config", "hpc=" ++ show (bindir -/- "hpc")] hpcArg = ["--config", "hpc=" ++ show (bindir -/- "hpc" <.> exe)]
inTreeArg = [ "-e", "config.in_tree_compiler=" ++ inTreeArg = [ "-e", "config.in_tree_compiler=" ++
show (testCompiler args `elem` ["stage1", "stage2", "stage3"]) ] show (testCompiler args `elem` ["stage1", "stage2", "stage3"]) ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment