#1416: Testsuite doesn't always work on MSYS with Cygwin Python
-------------------------+--------------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
-------------------------+--------------------------------------------------
Old description:
> '''Problem 1'''. Using the Cygwin Python. `testsuite/mk/test.mk` makes
> the GHC into `ghc-inplace.bat`. But `testlib.py` (the `runCmd`
> procedure) invokes `timeout`, which always calls a Bourne shell, so `ghc-
> inplace.bat` doesn't work.
>
> The timeout program must use a Bourne shell, because `testlib.py` often
> passes it a complex command in Bourne shell syntax.
>
> Current workaound: in `testsuite\mk\test.mk` disable the windows-specific
> setting of the GHC paths.
>
> '''IDEA''': it's a mess having a `ghc-inplace` shell script ''and'' a
> `ghc-inplace.bat` script. Instead we should have one executable, which
> we can invoke from anywhere.
New description:
'''Problem 1'''. Using the Cygwin Python. `testsuite/mk/test.mk` makes
the GHC into `ghc-inplace.bat`. But `testlib.py` (the `runCmd` procedure)
invokes `timeout`, which always calls a Bourne shell, so `ghc-inplace.bat`
doesn't work.
The timeout program must use a Bourne shell, because `testlib.py` often
passes it a complex command in Bourne shell syntax.
Current workaound: in `testsuite\mk\test.mk` disable the windows-specific
setting of the GHC paths.
'''IDEA''': it's a mess having a `ghc-inplace` shell script ''and'' a
`ghc-inplace.bat` script. Instead we should have one executable, which we
can invoke from anywhere.
''PS'' Why should we care about Cygwin Python and MSYS? Well, it's
exposed a fragility with this ghc-inplace stuff; and the testsuite doesn't
work with native Python under MSYS either.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1416>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs