#1599: testsuite timeout doesn't kill subprocesses on Windows
-------------------------+--------------------------------------------------
  Reporter:  simonmar    |          Owner:         
      Type:  bug         |         Status:  new    
  Priority:  normal      |      Milestone:  6.8    
 Component:  Test Suite  |        Version:  6.6.1  
  Severity:  normal      |       Keywords:         
Difficulty:  Unknown     |             Os:  Windows
  Testcase:              |   Architecture:  x86    
-------------------------+--------------------------------------------------
The timeout program doesn't kill subprocesses on Windows, which means for
 example that if GHCi hangs, timeout only kills ghc-inplace and not the GHC
 binary itself.  The hung GHC process prevents the build tree from being
 removed, and stops future buildbots from running.

 I just came across this Python code which allegedly does both timeout and
 subprocess-killing on Windows:

 [http://benjamin.smedbergs.us/blog/2006-12-11/killableprocesspy/]

 This could be either used directly (it's Mozilla-licensed) or we could
 adapt the idea for our timeout program.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1599>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to