[GHC] #12112: Testsuite driver links from /tmp directory to .hi and .o files in source directory
#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
#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 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #11980 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by thomie): After fixing this, I think it's save to reapply the iface compression patch: commit 9bb277269ec020f138fe70a65f5972466113ab61 {{{ Author: Ben Gamari <ben@smart-cactus.org> Date: Mon May 23 15:32:12 2016 +0200 Revert "compiler/iface: compress .hi files" }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12112#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #11980 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"df9611ee5c056066fe88fe3ef2f64382cec8b741/ghc" df9611ee/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="df9611ee5c056066fe88fe3ef2f64382cec8b741" Testsuite: do not copy .hi/.o files to testdir (#12112) }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12112#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12112: Testsuite driver links from /tmp directory to .hi and .o files in source directory -------------------------------------+------------------------------------- Reporter: thomie | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Test Suite | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #11980 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => fixed Comment: I have blacklisted the following extensions: `.hi/.o/.dyn_hi/.dyn_o`. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12112#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC