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

GHC ghc-devs at haskell.org
Sun Jul 15 20:01:32 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):

 Eliminating timeout.py turned out to be straight forward and the current
 features of the subprocess module cover almost exactly what timeout.py did
 before, with the minor difference that the tests would be separated from
 the driver with a call to setsid() (creating a new session) instead of
 merely setpgrp() (creating a new process group).
 Some little speed-up was observed as each test case now needs to start one
 process and one python interpreter less.

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


More information about the ghc-tickets mailing list