[GHC] #5669: Fix test 5558 for Mac OS X 10.5
GHC
cvs-ghc at haskell.org
Tue Nov 29 21:37:18 CET 2011
#5669: Fix test 5558 for Mac OS X 10.5
----------------------------+-----------------------------------------------
Reporter: thorkilnaur | Owner:
Type: bug | Status: new
Priority: normal | Component: Test Suite
Version: 7.3 | Keywords:
Testcase: | Blockedby:
Os: MacOS X | Blocking:
Architecture: x86 | Failure: Other
----------------------------+-----------------------------------------------
The attached patch fixes
{{{
=====> 5558(threaded2) 207 of 3086 [0, 0, 0]
cd ./concurrent/should_run && '/Users/thorkilnaur/tn/GHCGitRepository/ghc-
working/bindisttest/install dir/bin/ghc' -fforce-recomp -dcore-lint -dcmm-
lint -dno-debug-output -no-user-package-conf -rtsopts -fno-ghci-history
-o 5558 5558.hs -O -threaded -eventlog >5558.comp.stderr 2>&1
...
cd ./concurrent/should_run && for i in `seq 1 100`; do ./5558 +RTS -N2
-ls -RTS </dev/null >5558.run.stdout 2>5558.run.stderr || break; done
/bin/sh: seq: command not found
*** framework failure for 5558(threaded2) do_test exception :
Traceback (most recent call last):
File "/Users/thorkilnaur/tn/GHCGitRepository/ghc-
working/testsuite/driver/testlib.py", line 684, in do_test
result = apply(func, [name,way] + args)
...
IOError: [Errno 2] No such file or directory:
'./concurrent/should_run/5558.run.stderr'
}}}
on
{{{
$ uname -a
Darwin thorkil-naurs-intel-mac-mini.local 9.8.0 Darwin Kernel Version
9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386
i386
$
}}}
Validated on Mac OS X 10.5. The sequence expression {1..100} works on
Linux, Cygwin and FreeBSD.
Best regards
Thorkil
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5669>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list