[PATCH 3 of 3 in crew] run-tests: use correct python safely under --jobs

Siddharth Agarwal sid0 at fb.com
Tue Dec 11 19:35:11 CST 2012


On 12/11/2012 01:53 PM, Bryan O'Sullivan wrote:
> On Mon, Dec 10, 2012 at 8:42 PM, Bryan O'Sullivan <bos at serpentine.com 
> <mailto:bos at serpentine.com>> wrote:
>
>         This series seems to have broken most tests on Windows on the
>         buildbot
>
>
>     Thanks, I'll take a look.
>
>
> I can't reproduce this problem on my Windows VM. Adrian, have you any 
> further idea what might be going on?

Unfortunately it seems the trick of copying the python executable into 
the hg directory doesn't work on Windows, because Windows Python depends 
on other files in its own directory to work. Mads suggested we make sure 
os.path.join(dirname(sys.executable), "python.exe") existed, and then 
add that directory to the path.


More information about the Mercurial-devel mailing list