Mercurial > hg
changeset 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 | 3185b347ae98 |
children | c7ec39c1a381 |
files | tests/run-tests.py |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
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)