[GHC] #5980: Name of compiler mismatch in safeHaskell/ghci/p5 p7 p8
GHC
cvs-ghc at haskell.org
Thu Apr 19 15:07:52 CEST 2012
#5980: Name of compiler mismatch in safeHaskell/ghci/p5 p7 p8
---------------------------------+------------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: patch
Priority: highest | Milestone: 7.6.1
Component: Test Suite | Version: 7.5
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by pcapriotti):
* status: new => patch
Comment:
The attached 5980.patch sends user exceptions to `stderr` instead of
`stdout`.
A number of tests need to be adapted to this change.
Since now ghci output can interleave `stdout` and `stderr`, I find it's
more
convenient (and more robust) to test the combined output streams instead
of
testing them individually.
So I added a test option called `combined_output` that redirects `stderr`
to
`stdout`, and modified ghci tests accordingly.
Also, apparently the driver wasn't actually normalizing `stderr` the same
way
as for compile tests, so the safeHaskell tests were failing even after the
change. That's also fixed in the patch, by using `normalise_errmsg`
instead of
`normalise_output` in `check_stderr_ok`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5980#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list