HEADS UP: running tests in /tmp and the `extra_files` setup function

Ben Gamari ben at smart-cactus.org
Tue May 17 19:02:15 UTC 2016


Thomas Miedema <thomasmiedema at gmail.com> writes:

> Hello GHC developers,
>
> the testsuite driver now runs each test in a temporary directory in /tmp,
> after first linking/copying all files that the test requires to that
> directory.
>
Hmm, it looks like the new paths rather clutter the testsuite summary
produced at the end of the run,


   /tmp/ghctest/jvZ6KB/1/2/3/./indexed-types/should_fail/T3330a  T3330a [stderr mismatch] (normal)
   /tmp/ghctest/jvZ6KB/1/2/3/./indexed-types/should_fail/T4174   T4174 [stderr mismatch] (normal)
   /tmp/ghctest/jvZ6KB/1/2/3/./indexed-types/should_fail/T4179   T4179 [stderr mismatch] (normal)

Perhaps we should strip off the root path from the test names?

Cheers,

- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160517/015fe6bc/attachment.sig>


More information about the ghc-devs mailing list