# HG changeset patch # User Bryan O'Sullivan # Date 1355170495 28800 # Node ID 2fb2b92583e4e6b4ae43f4627a263449b43556b5 # Parent 28f06763bfb2cfcc04f419989be0678c937836d1 run-tests: use correct python safely under --jobs [ original upstream message ] diff -r 28f06763bfb2 -r 2fb2b92583e4 tests/run-tests.py --- 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")