summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-10-28 10:35:08 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2015-12-17 20:25:03 +0100
commit272e1cc811e5d693d8a36e63c90a1ece68a0495a (patch)
treecbb5a4d0df2ec575f6ba142f907186d1cef0dd19 /ghc.mk
parentc1bd3d444f8c52c688fdbea695ee0ae7f402945d (diff)
downloadhaskell-272e1cc811e5d693d8a36e63c90a1ece68a0495a.tar.gz
Testsuite: allow spaces in TEST_HC passed in by the user
Don't use the GNU make function 'realpath' (reverting e66a81c6), because it doesn't handle spaces in paths. Instead, use 'cygpath' to convert Windows style paths (e.g. C:/foo/) to mingw style paths (e.g. c/foo/), and then call 'which'. Tests: * make TEST_HC=ghc * make TEST_HC=/d/home/thomie/ghc-validate/bindisttest/install\ \ \ dir/bin/ghc * make TEST_HC=D:/home/thomie/ghc-validate/bindisttest/install\ \ \ dir/bin/ghc Reviewed by: Phyx Differential Revision: https://phabricator.haskell.org/D1431
Diffstat (limited to 'ghc.mk')
0 files changed, 0 insertions, 0 deletions