diff options
| author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-05-27 15:02:35 +0200 |
|---|---|---|
| committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-05-28 14:23:40 +0200 |
| commit | ce166a3aaab28a9b08c60da6d0cfdab998b6e8ca (patch) | |
| tree | 24b296a19d9615e714e61ae2e94bf8850580d8d5 /compiler | |
| parent | ef9046601b8616106878529884ce1e9ae645f9ed (diff) | |
| download | haskell-ce166a3aaab28a9b08c60da6d0cfdab998b6e8ca.tar.gz | |
Testdriver: do not interfer with MinGW path magic (#10449)
This should fix the testsuite driver on Windows using the MinGW tools
with a native build of Python.
MinGW automagically converts MinGW-style paths (e.g.
'/c/programs/ghc/bin/ghc') into ordinary Windows paths (e.g.
'C:/programs/ghc/bin/ghc') when a native Windows program is invoked. But
it doesn't do so when those paths are wrapped with a pair of escaped
double quotes.
The fix is to not call `eval` on the paths in Python, which let's us use
one less pair of quotes, and makes MinGW happy.
Reviewers: Rufflewind, austin
Differential Revision: https://phabricator.haskell.org/D911
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions
