#3106: hundred failures of release candidate ghc-6.10.1.20090314 in testsuite
------------------------+---------------------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: 6.10.1
Severity: normal | Resolution:
Keywords: | Testcase:
Os: Solaris | Architecture: x86
------------------------+---------------------------------------------------
Comment (by thorkilnaur):
The precise effect of {{{sh unknownCommand}}} on FreeBSD seems to be that
the error message is printed to stderr before the redirections on the
command line become effective:
{{{
> [...@tn12 ~/tn/test/GHC/release/GHC-6.10.2-rc1/work]$ sh -c cygpath
1>sh.out 2>sh.err
> [...@tn12 ~/tn/test/GHC/release/GHC-6.10.2-rc1/work]$ cat sh.out
> [...@tn12 ~/tn/test/GHC/release/GHC-6.10.2-rc1/work]$ cat sh.err
> cygpath: not found
> [...@tn12 ~/tn/test/GHC/release/GHC-6.10.2-rc1/work]$
}}}
This suggests an alternative fix of the problem, represented by the
attached patch. Note: The changed {{{testsuite/mk/boilerplate.mk}}} has
passed stand-alone tests in the FreeBSD, PPC Mac OS X 10.5, and Cygwin
(under Windows) environments. But it has not been tried for a complete run
of the GHC testsuite.
Best regards
Thorkil
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3106#comment:7>
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