patch applied (ghc): Add assertion for arity match (checks Trac #2844)

Ian Lynagh igloo at earth.li
Tue Dec 16 17:38:32 EST 2008


On Tue, Dec 16, 2008 at 09:13:23AM +0000, Simon Marlow wrote:
> Ian Lynagh wrote:
> >On Tue, Dec 09, 2008 at 10:41:27AM +0000, Simon Peyton-Jones wrote:
> >>=====> openFile008(normal)
> >>cd ./lib/IO && 'c:/simonpj/darcs/HEAD/ghc/stage2-inplace/ghc' 
> >>-fforce-recomp -dcore-lint -dcmm-lint -Di386_unknown_mingw32  
> >>-dno-debug-output -o openFile008 openFile008.hs    
> >>>openFile008.comp.stderr 2>&1
> >>cd ./lib/IO && ulimit -n 1024;  ./openFile008    </dev/null 
> >>>openFile008.run.stdout 2>openFile008.run.stderr
> >>Timeout happened...killing process...
> >>Wrong exit code (expected 0 , actual 99 )
> >
> >If you run this by hand, does it terminate? How long does it take?
> >
> >I get this (on an idle MSYS machine):
> >
> >$ time ./openFile008 
> >real    0m8.693s
> >user    0m0.010s
> >sys     0m0.010s
> 
> Takes 14-15 seconds for me (Windows Server 2003), and 1.5 seconds on Linux. 
>   There's no Cygwin/MSYS involved, this is just slowness in the Windows 
> file system or system calls, or possibly the crt library.

But the timeout should be happening after 300 seconds, so that doesn't
explain the test failure.


Thanks
Ian



More information about the Cvs-ghc mailing list