[GHC] #12112: Testsuite driver links from /tmp directory to .hi and .o files in source directory
GHC
ghc-devs at haskell.org
Tue May 24 19:40:07 UTC 2016
#12112: Testsuite driver links from /tmp directory to .hi and .o files in source
directory
-------------------------------------+-------------------------------------
Reporter: thomie | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: 8.0.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets: #11980
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
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)
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12112>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list