run-tests: patch over py2.4 proc.wait() race
authorMatt Mackall <mpm@selenic.com>
Tue, 16 Jul 2013 12:44:11 -0500
changeset 19407 ce3d1cf957f8
parent 19406 3185b347ae98
child 19408 c7ec39c1a381
run-tests: patch over py2.4 proc.wait() race
tests/run-tests.py
--- a/tests/run-tests.py	Tue Jul 16 11:53:53 2013 -0500
+++ b/tests/run-tests.py	Tue Jul 16 12:44:11 2013 -0500
@@ -838,7 +838,11 @@
         cleanup()
         raise
 
-    ret = proc.wait()
+    try:
+        ret = proc.wait()
+    except OSError:
+        # Py2.4 seems to have a race here
+        pass
     if wifexited(ret):
         ret = os.WEXITSTATUS(ret)