[GHC] #10449: Out-of-tree tests broken on MinGW + native Python due to quoting of config.compiler
GHC
ghc-devs at haskell.org
Thu May 28 13:20:12 UTC 2015
#10449: Out-of-tree tests broken on MinGW + native Python due to quoting of
config.compiler
-------------------------------+-------------------------------------------
Reporter: Rufflewind | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 7.12.1
Component: Test Suite | Version: 7.10.1
Resolution: | Keywords:
Operating System: Windows | Architecture: Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: #10441 | Differential Revisions: Phab:D911
-------------------------------+-------------------------------------------
Comment (by Thomas Miedema <thomasmiedema@…>):
In [changeset:"ce166a3aaab28a9b08c60da6d0cfdab998b6e8ca/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="ce166a3aaab28a9b08c60da6d0cfdab998b6e8ca"
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
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10449#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list