Strange failures in directory/
Edward Z. Yang
ezyang at mit.edu
Fri Jan 23 23:58:54 UTC 2015
No idea. As a point of comparison, when I do the same procedure,
getDirContents001 only shows up once.
Edward
Excerpts from Simon Peyton Jones's message of 2015-01-22 04:09:47 -0800:
> 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
More information about the ghc-devs
mailing list