[GHC] #10449: Out-of-tree tests broken on MinGW + native Python due to quoting of config.compiler
GHC
ghc-devs at haskell.org
Wed May 27 01:44: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: new
Priority: normal | Milestone:
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:
-------------------------------+-------------------------------------------
Comment (by Rufflewind):
Replying to [comment:4 thomie]:
> But escaped single quotes are still ok? That's what was used before
525856.
Before 525856, it was invoked like this (contains a double-quote only):
{{{
… -e 'config.compiler="$(TEST_HC)"'
}}}
Now it's invoked like this (with a double-quote 'and an escaped double-
quote'):
{{{
… -e 'config.compiler="\"$(TEST_HC)\""'
}}}
The escaped double-quote is what's tripping up MinGW (an escaped single-
quote would cause the same problem).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10449#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list