Strange failures in directory/
Simon Peyton Jones
simonpj at microsoft.com
Thu Jan 22 12:09:47 UTC 2015
I'm getting these validate failures from "sh validate -fast":
Unexpected failures:
../../libraries/directory/tests getHomeDirectory001 [exit code non-0] (normal)
.. and about 20 more similar complaints ...
The failure report is this:
Compile failed (status 256) errors were:
[1 of 1] Compiling Main ( getHomeDirectory001.hs, getHomeDirectory001.o )
*** unexpected failure for getHomeDirectory001(normal)
BUT if I "cd libraries/directory/tests", and say "make TEST=getDirContents001", I get no failures.
Here is a clue. If I "cd testsuite/tests" and say "make TEST=getDirContents001", I get this:
=====> getHomeDirectory001(normal) 4288 of 4405 [0, 0, 13]
cd ../../libraries/directory/tests && '/5playpen/simonpj/HEAD-2/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-warn-tabs -fno-ghci-history -o getHomeDirectory001 getHomeDirectory001.hs >getHomeDirectory001.comp.stderr 2>&1
cd ../../libraries/directory/tests && ./getHomeDirectory001 </dev/null >getHomeDirectory001.run.stdout 2>getHomeDirectory001.run.stderr
=====> getHomeDirectory001(normal) 4301 of 4405 [0, 0, 13]
cd ../../libraries/directory/tests && '/5playpen/simonpj/HEAD-2/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-warn-tabs -fno-ghci-history -o getHomeDirectory001 getHomeDirectory001.hs >getHomeDirectory001.comp.stderr 2>&1
cd ../../libraries/directory/tests && ./getHomeDirectory001 </dev/null >getHomeDirectory001.run.stdout 2>getHomeDirectory001.run.stderr
Note that it gets compiled TWICE. This is likely to cause problems when multi-threading.
Anyone have any ideas?
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20150122/4af50032/attachment.html>
More information about the ghc-devs
mailing list