Re: Windows falures

2012-10-30 Thread Simon Marlow

ghcpkg03 and ghcpkg05 are not Windows-specific:

Actual stderr output differs from expected:
--- ./cabal/ghcpkg03.stderr 2012-10-29 13:53:32.0 +
+++ ./cabal/ghcpkg03.run.stderr 2012-10-30 11:44:26.723934678 +
@@ -7,7 +7,7 @@
 testpkg-1.2.3.4: cannot find any of [A.hi,A.p_hi,A.dyn_hi] 
(ignoring)
 testpkg-1.2.3.4: cannot find any of [B.hi,B.p_hi,B.dyn_hi] 
(ignoring)
 testpkg-1.2.3.4: cannot find any of [C/D.hi,C/D.p_hi,C/D.dyn_hi] 
(ignoring)
-testpkg-1.2.3.4: cannot find any of 
[libtestpkg-1.2.3.4.a,libtestpkg-1.2.3.4.p_a,libtestpkg-1.2.3.4-ghc7.7.20121025.so,libtestpkg-1.2.3.4-ghc7.7.20121025.dylib,testpkg-1.2.3.4-ghc7.7.20121025.dll] 
on library path (ignoring)
+testpkg-1.2.3.4: cannot find any of 
[libtestpkg-1.2.3.4.a,libtestpkg-1.2.3.4.p_a,libtestpkg-1.2.3.4-ghc7.7.20121029.so,libtestpkg-1.2.3.4-ghc7.7.20121029.dylib,testpkg-1.2.3.4-ghc7.7.20121029.dll] 
on library path (ignoring)
 testpkg-2.0: Warning: library-dirs: /usr/local/lib/testpkg doesn't 
exist or isn't a directory
 testpkg-2.0: Warning: include-dirs: /usr/local/include/testpkg doesn't 
exist or isn't a directory
 testpkg-2.0: import-dirs: /usr/local/lib/testpkg doesn't exist or 
isn't a directory (ignoring)


I'm also seeing a failure in T7341, is this one of yours Simon?

--- ./polykinds/T7341.stderr2012-10-29 13:53:33.0 +
+++ ./polykinds/T7341.comp.stderr   2012-10-30 11:43:27.107809209 +
@@ -1 +1,6 @@

\ No newline at end of file
+T7341.hs:11:12:
+Expecting one more argument to `[]'
+The first argument of `C' should have kind `*',
+  but `[]' has kind `* - *'
+In the instance declaration for `C []'
*** unexpected failure for T7341(normal)


Cheers,
Simon


On 30/10/2012 08:06, Simon Peyton-Jones wrote:

Ian

As discussed, here are the failures I get on 32 bit Windows with MSYS:

../../libraries/random/tests   rangeTest [bad exit code]
(normal)

cabal  ghcpkg03 [bad stderr] (normal)

cabal  ghcpkg05 [bad stderr] (normal)

codeGen/should_run cgrun071 [bad exit code] (normal)

driver shared001 [bad stderr] (normal)

ghci.debugger/scripts  break011 [bad stdout] (ghci)

ghci.debugger/scripts  dynbrk009 [bad exit code] (ghci)

ghci/linking   ghcilink004 [bad exit code]
(normal)

ghci/scripts   T5975a [bad stderr] (ghci)

ghci/scripts   T6106 [bad stderr] (ghci)

ghci/scripts   ghci058 [bad stderr] (ghci)

rtsT7037 [bad exit code] (normal)

I’ve cut/pasted the relevant log output below.  Happy to help if you
have any difficulty reproducing.  This is with my validate.mk saying

LAX_DEPENDENCIES = YES

WERROR  = -Werror

GhcStage1HcOpts += -O0 -DDEBUG

GhcStage2HcOpts += -dcore-lint -ticky

GhcLibHcOpts+= -dcore-lint

GhcLibWays = v

SplitObjs  = NO

(the -ticky is accidental but should do no harm.)

thanks

Simon

= rangeTest(normal) 3246 of 3460 [1, 35, 1]

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.hsrangeTest.comp.stderr 21

cd ../../libraries/random/tests  ./rangeTest/dev/null
 rangeTest.run.stdout 2rangeTest.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

*** unexpected failure for rangeTest(normal)

= ghcpkg03(normal) 75 of 3460 [1, 0, 1]

cd ./cabal  $MAKE -s --no-print-directory ghcpkg03/dev/null
 ghcpkg03.run.stdout 2ghcpkg03.run.stderr

Actual stderr output differs from expected:

--- ./cabal/ghcpkg03.stderr-mingw32  2012-05-03 

RE: Windows falures

2012-10-30 Thread Simon Peyton-Jones

|  \ No newline at end of file
|  +T7341.hs:11:12:
|  +Expecting one more argument to `[]'
|  +The first argument of `C' should have kind `*',
|  +  but `[]' has kind `* - *'
|  +In the instance declaration for `C []'
|  *** unexpected failure for T7341(normal)

yes, sorry missing stderr file. Patch coming when I'm back at base

S
___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc