Mercurial > public > mercurial-scm > hg-stable
diff tests/run-tests.py @ 19407:ce3d1cf957f8
run-tests: patch over py2.4 proc.wait() race
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 16 Jul 2013 12:44:11 -0500 |
parents | ff1586a3adc5 |
children | a4de0d3dc35a |
line wrap: on
line diff
--- 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)