#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    |       Keywords:         
Difficulty:  Unknown   |             Os:  Unknown
  Testcase:            |   Architecture:  Unknown
-----------------------+----------------------------------------------------
'''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.

-- 
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

Reply via email to