[GHC] #11980: Testsuite: run each test in its own /tmp directory, after copying required files

GHC ghc-devs at haskell.org
Mon Jun 20 14:36:53 UTC 2016


#11980: Testsuite: run each test in its own /tmp directory, after copying required
files
-------------------------------------+-------------------------------------
        Reporter:  thomie            |                Owner:  thomie
            Type:  task              |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       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:                    |  Differential Rev(s):  Phab:D1187
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Thomas Miedema <thomasmiedema@…>):

 In [changeset:"3b49f8faa1cbd3a04f1d6aa817a315a853e0cd79/ghc"
 3b49f8fa/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="3b49f8faa1cbd3a04f1d6aa817a315a853e0cd79"
 Testsuite: remove `-fforce-recomp` from default flags (#11980)

 There is no need for this flag anymore, since each test runs in a
 newly created directory. Removing it cleans up testlib.py a bit.

 There is a small risk that this renders some tests useless. It's hard to
 know. Those tests should have specified -fforce-recomp` explicitly
 anyway, so I'm not going to worry about it. I've fixed the ones that
 failed without -fforce-recomp.

 Reviewed by: bgamari

 Differential Revision: https://phabricator.haskell.org/D2346
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11980#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list