cgrun051

Simon Peyton Jones simonpj at microsoft.com
Mon May 5 13:15:19 UTC 2014


I'm getting

Unexpected failures:

   .  cgrun051 [bad exit code] (normal,hpc,optasm,profasm,ghci,threaded1,threaded2,dyn,profthreaded,optllvm,g1)


=====> cgrun051(optasm) 46 of 98 [0, 2, 0]

cd . && '/5playpen/simonpj/HEAD-2/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -o cgrun051 cgrun051.hs -O -fasm   >cgrun051.comp.stderr 2>&1

cd . && ./cgrun051    </dev/null >cgrun051.run.stdout 2>cgrun051.run.stderr

Wrong exit code (expected 0 , actual 1 )


cgrun051 throws an exception, so presumably should have exit code 1.  And it does. But the test seems to test for exit code 0.
Why does the test check for 0 not 1?  And what has changed?
This is HEAD.  I don't have a virgin head right now, but I don't think any of my changes could cause this.
I am also seeing the

   ffi/should_compile     cc004 [stderr mismatch] (normal)
errors that Joachim reported.  It'd be great if someone could fix that, whatever it is.
SImon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140505/9f44fb13/attachment.html>


More information about the ghc-devs mailing list