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

GHC ghc-devs at haskell.org
Wed Jul 11 19:15:42 UTC 2018


#15363: Do some cleaning up of the testsuite driver
-------------------------------------+-------------------------------------
           Reporter:  lantti         |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  low            |         Milestone:  8.6.1
          Component:  Test Suite     |           Version:  8.4.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 When trying to understand the GHC test suite I noticed some small
 improvements that I could do to it. This would probably work nicely as my
 first task on GHC:

 Rewrite the timeout.hs in python, it doesn't seem to do anything that
 would strictly need the Haskell libraries to be used and it is the only
 part of the test suite driver that is not written in python.

 Or;

 See if the timeout scripts could be eliminated altogether as the python
 subprocess module that we are using can now (since python 3.3) handle
 timeouts by itself and using the timeout scripts effectively doubles the
 number of processes we need to create for each test case. Notice that the
 timeout scripts do more than just generating the timeout.

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


More information about the ghc-tickets mailing list