Testsuite driver links from /tmp directory to .hi and .o files in source directory
This is a clear bug, but only shows up when the source directory is not clean. Perhaps from a validate run from before the /tmp
testsuite patch. A user might also have been running some small sample programs in the source directory manually.
The testsuite driver currently matches <testname>*
.
I'm not sure if a whitelist or blacklist solution is more future proof.
These are all existing filetypes in the testsuite:
$ find . -name tests | xargs dir | grep -v stderr | grep -v stdout
Extension Files
====================================
.def (1)
.tix (1)
.hspp (2)
.ghci (1)
.primops (1)
.mix (1)
.gnp (2)
.so (1)
.md (2)
.hx (1)
.sh (1)
.test (1)
.cpp (2)
.mm (1)
.gitignore (7)
.m (2)
.asm (4)
.conf (2)
.h (19)
.hsc (10)
.lib (2)
.pkg (14)
.hs-boot (49)
.txt (5)
.hsig (14)
.cabal (37)
.gml (1)
.cmm (46)
.sample (14)
.c (66)
.dat (3)
.pgn (1)
.stdin (8)
.lhs (23)
.script (318)
.plt (2)
.T (311)
(370)
. (438)
.hs (5343)
Total: (10370)
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Test Suite |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | thoughtpolice |
Operating system | |
Architecture |