[GHC] #15363: Do some cleaning up of the testsuite driver

GHC ghc-devs at haskell.org
Sat Jul 14 01:22:11 UTC 2018


#15363: Do some cleaning up of the testsuite driver
-------------------------------------+-------------------------------------
        Reporter:  lantti            |                Owner:  lantti
            Type:  task              |               Status:  new
        Priority:  low               |            Milestone:  8.6.1
       Component:  Test Suite        |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by lantti):

 Using winpty instead of mintty on Windows allows the ctrl-c event to
 propagate through the process tree, but even then the clean up routines
 are not run and the results from the tests already completed are not
 displayed. At the moment I presume this is because the timeout.hs is not
 able to react to the ctrl-c event while waiting on the child process. When
 run in isolation it only reacts after the child returns (or never if the
 child ignores ctrl-c). As part of the testsuite it doesn't get a chance to
 react before being killed.

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


More information about the ghc-tickets mailing list