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

GHC ghc-devs at haskell.org
Sat Sep 1 10:19:30 UTC 2018


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

Comment (by Phyx-):

 > To issue 2.: I'd like to add that even timeout.hs itself is not fully
 functional at the moment, failing to handle interrupts signals, although
 winbindings.py doesn't do any better job either. Interrupting the test run
 on Windows works only because mintty simply kills our whole process tree
 without consulting our code at all, resulting in different but still
 effective end to the test run (compared to POSIX). The results for the
 tests already run won't get displayed in that case but fortunately this
 functionality doesn't strike me as essential.

 This isn't a testsuite problem. It's simply because mintty suppresses all
 windows signals in order to implement the pseudo posix signal handlers.
 Mintty is simply incompatible with windows programs. That's why interfaces
 like winpty exist but that are ultimately a hack.

 The simplest solution here is simply not to use mintty. Any other terminal
 emulator and call bash directly.

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


More information about the ghc-tickets mailing list