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

On 05/05/2014 14:15, Simon Peyton Jones wrote:
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 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.
Austin changed it in this commit:
commit 5bf22f06ef71f61094de7564dee770f136d5481a
Author: Austin Seipp
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
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Bah, just a brainfart it seems. cgrun051 and cc004 are fixed.
On Fri, May 9, 2014 at 10:54 AM, Simon Marlow
On 05/05/2014 14:15, Simon Peyton Jones wrote:
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 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.
Austin changed it in this commit:
commit 5bf22f06ef71f61094de7564dee770f136d5481a Author: Austin Seipp
Date: Sun Apr 27 21:11:23 2014 -0500 Remove external core
Signed-off-by: Austin Seipp
Austin - any idea why?
Cheers, Simon
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
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
-- Regards, Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/
participants (3)
-
Austin Seipp
-
Simon Marlow
-
Simon Peyton Jones