Ticket #1599 (closed bug: fixed)
testsuite timeout doesn't kill subprocesses on Windows
|Reported by:||simonmar||Owned by:||igloo|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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:
This could be either used directly (it's Mozilla-licensed) or we could adapt the idea for our timeout program.