Windows failures

Simon Peyton-Jones simonpj at microsoft.com
Wed May 15 18:47:37 CEST 2013


Yes, the test simply doesn't run at all on Windows. I've committed the patch for you.  Thanks!

Simon

From: Andreas Voellmy [mailto:andreas.voellmy at gmail.com]
Sent: 15 May 2013 14:07
To: Simon Peyton-Jones
Subject: Re: Windows failures

Hi Simon,

I added 7773 recently. I should have noticed that it wouldn't work on Windows. I don't have a Windows machine, so can you try this fix for me?

In libraries/base/tests/all.T, change the line for T7773 (line 125 for me) to this:

test('T7773', when(opsys('mingw32'), skip), compile_and_run, [''])

Does that eliminate the 7773 failure for you. If so, I'll commit the patch. I just want to double-check, because I am just getting my feet wet with the test system.

-Andi


On Wed, May 15, 2013 at 7:21 AM, Simon Peyton-Jones <simonpj at microsoft.com<mailto:simonpj at microsoft.com>> wrote:
On Windows I'm getting these failures.  Details below.

Simon

Unexpected failures:
   ../../libraries/base/tests    T7773 [exit code non-0] (normal)
   ../../libraries/random/tests  rangeTest [bad exit code] (normal)
   cabal/cabal01                 cabal01 [bad stdout] (normal)
   ghc-api/T7478                 T7478 [bad exit code] (normal)
   ghci.debugger/scripts         dynbrk009 [bad exit code] (ghci)
   ghci/scripts                  T5975a [bad stderr] (ghci)
   rts                           T4850 [bad stdout] (normal)

=====> T7773(normal) 3517 of 3614 [2, 18, 0]
cd ../../libraries/base/tests && 'C:/code/HEAD/inplace/bin/ghc-stage2.exe' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -o T7773 T7773.hs    >T7773.comp.stderr 2>&1
Compile failed (status 256) errors were:

T7773.hs:2:8:
    Could not find module    System.Posix.IO<http://System.Posix.IO>
    Use -v to see a list of the files searched for.

*** unexpected failure for T7773(normal)

=====> rangeTest(normal) 3386 of 3589 [2, 25, 0]
cd ../../libraries/random/tests && 'C:/code/HEAD/inplace/bin/ghc-stage2.exe' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -o rangeTest rangeTest.hs    >rangeTest.comp.stderr 2>&1
cd ../../libraries/random/tests && ./rangeTest    </dev/null >rangeTest.run.stdout 2>rangeTest.run.stderr
Wrong exit code (expected 0 , actual 1 )
Stdout:
Int:  Passed
Integer:  Passed
Int8:  Passed
Int16:  Passed
Int32:  Passed
Int64:  Passed
Word:  Passed
Word8:  Passed
Word16:  Passed
Word32:  Passed
Word64:  Passed
Double:  Passed
Float:  Passed
CChar:  Passed
CSChar:  Passed
CUChar:  Passed
CShort:  Passed
CUShort:  Passed
CInt:  Passed
CUInt:  Passed
CLong:  Passed
CULong:  Passed
CPtrdiff:  Passed
CSize:  Passed
CWchar:  Passed
CSigAtomic:  Passed
CLLong:  Passed
CULLong:  Passed
CIntPtr:  Passed
CUIntPtr:  Passed
CIntMax:  Passed
CUIntMax:  Passed
Int R:  Passed
Integer R:  Passed
Int8 R:  Passed
Int8 Rsmall:  Passed
Int8 Rmini:  Passed
Int8 Rtrivial:  Passed
Int16 R:  Passed
Int32 R:  Passed
Int64 R:  Passed
Word R:  Passed
Word8 R:  Passed
Word16 R:  Passed
Word32 R:  Passed
Word64 R:  Passed
Double R:  Passed
Float R:  Passed
CChar R:  Passed
CSChar R:  Passed
CUChar R:  Passed
CShort R:  Passed
CUShort R:  Passed
CInt R:  Passed
CUInt R:  Passed
CLong R:  Passed
CULong R:  Passed
CPtrdiff R:  Passed
CSize R:  Passed
CWchar R:
Stderr:
rangeTest.exe: broke lower bound: 100

=====> cabal01(normal) 81 of 3614 [0, 0, 0]
cd ./cabal/cabal01 && $MAKE -s --no-print-directory cabal01 VANILLA=--enable-library-vanilla PROF=--disable-library-profiling DYN=--disable-shared CLEANUP=1    </dev/null >cabal01.run.stdout 2>cabal01.run.stderr
Actual stdout output differs from expected:
--- ./cabal/cabal01/cabal01.stdout-mingw32     2012-06-22 00:08:51 +0100
+++ ./cabal/cabal01/cabal01.run.stdout 2013-05-15 07:18:31 +0100
@@ -1,9 +1,9 @@
install1:
bin
-test-1.0
+i386-windows-ghc-7.7.20130514
install2:
bin
-test-1.0
+i386-windows-ghc-7.7.20130514
dist:
build
package.conf.inplace
*** unexpected failure for cabal01(normal)

=====> T7478(normal) 6 of 6 [0, 0, 0]
cd ./T7478 && $MAKE -s --no-print-directory T7478    </dev/null >T7478.run.stdout 2>T7478.run.stderr
Wrong exit code (expected 0 , actual 2 )
Stdout:
----- 0 ------
(0,"[1 of 2] Compiling B                ( B.hs, B.o )")
(0,"[2 of 2] Compiling Main             ( A.hs, A.o )")
----- 1 ------
(1,"[2 of 2] Compiling Main             ( A.hs, A.o )")
----- 2 ------
(2,"[1 of 1] Compiling Main             ( C.hs, C.o )")
(2,"Linking A.exe ...")

Stderr:
T7478.exe: T7478.exe: phase `Linker' failed (exitcode = 1)
make[1]: *** [T7478] Error 1

*** unexpected failure for T7478(normal)

=====> dynbrk009(ghci) 67 of 76 [0, 0, 0]
cd ./scripts && HC='C:/code/HEAD/inplace/bin/ghc-stage2.exe' HC_OPTS='-dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history ' 'C:/code/HEAD/inplace/bin/ghc-stage2.exe' --interactive -v0 -ignore-dot-ghci -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history  -ignore-dot-ghci   <dynbrk009.script >dynbrk009.run.stdout 2>dynbrk009.run.stderr
Wrong exit code (expected 0 , actual 1 )
Stdout:
Stopped at dynbrk009.hs:8:22
_result :: Int = _
Stopped at dynbrk009.hs:8:27-36
_result :: Int = _
Stopped at dynbrk009.hs:8:31-35

Stopped at dynbrk009.hs:6:1-9

Stopped at dynbrk009.hs:6:9

Segmentation fault/access violation in generated code

=====> T5975a(ghci) 84 of 100 [0, 0, 0]
cd . && touch f    b  r1.hs
cd . && HC='C:/code/HEAD/inplace/bin/ghc-stage2.exe' HC_OPTS='-dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history ' 'C:/code/HEAD/inplace/bin/ghc-stage2.exe' --interactive -v0 -ignore-dot-ghci -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history     <T5975a.script >T5975a.run.stdout 2>T5975a.run.stderr
Actual stderr output differs from expected:
--- /dev/null  2013-05-15 09:05:22 +0100
+++ ./T5975a.run.stderr    2013-05-15 09:05:21 +0100
@@ -0,0 +1,2 @@
+
+<no location info>: can't find file: f    b  r1.hs
*** unexpected failure for T5975a(ghci)

=====> T4850(normal) 2232 of 3614 [2, 11, 0]
cd ./rts && $MAKE -s --no-print-directory T4850    </dev/null >T4850.run.stdout 2>T4850.run.stderr
Actual stdout output differs from expected:
--- ./rts/T4850.stdout        2013-02-12 13:55:56 +0000
+++ ./rts/T4850.run.stdout         2013-05-15 08:14:04 +0100
@@ -1 +1 @@
-5
+4

_______________________________________________
ghc-devs mailing list
ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>
http://www.haskell.org/mailman/listinfo/ghc-devs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130515/3354b502/attachment-0001.htm>


More information about the ghc-devs mailing list