run-tests: reap timed-out zombies
authorBrendan Cully <brendan@kublai.com>
Thu, 18 Jul 2013 09:39:01 -0700
changeset 19437 6857f554ae0e
parent 19436 f5abfa08fb09
child 19438 e8bcd7b0a653
run-tests: reap timed-out zombies
tests/run-tests.py
--- a/tests/run-tests.py	Fri Jul 12 01:58:48 2013 +0400
+++ b/tests/run-tests.py	Thu Jul 18 09:39:01 2013 -0700
@@ -88,6 +88,7 @@
             p.timeout = True
             if p.returncode is None:
                 terminate(p)
+                p.wait()
         threading.Thread(target=t).start()
 
     return p