Mercurial > hg-stable
changeset 18050:5522a7951bd7
run-tests: use correct python safely under --jobs
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Mon, 10 Dec 2012 12:14:55 -0800 |
parents | 07ad75b22910 |
children | 48f797ac0879 7c9b07f0da73 |
files | tests/run-tests.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Mon Dec 10 12:09:02 2012 -0800 +++ b/tests/run-tests.py Mon Dec 10 12:14:55 2012 -0800 @@ -370,6 +370,10 @@ # windows fallback shutil.copyfile(sys.executable, mypython) shutil.copymode(sys.executable, mypython) + except OSError, err: + # child processes may race, which is harmless + if err.errno != errno.EEXIST: + raise def installhg(options): vlog("# Performing temporary installation of HG")