Running tests on Windows

Patrick Mézard pmezard at gmail.com
Thu Jun 22 10:02:39 CDT 2006


Hello,

I am currently trying to run some mercurial tests under Windows. I know 
there are issues with this, mostly related to the usage of Unix shell 
scripts. What I would like to know is: is there any way to run some of 
the tests ("test-pull" for instance) with the following configuration ?:

WinXP
Cygwin
ActivePython 2.4

I already changed something in run-tests.py to make it execute shell 
scripts through "sh" directly instead of relying on shebang magic (which 
probably does not work for me since the cygwin shell first calls 
ActivePython). I am stuck with ActivePython trying to execute files from 
cygwin paths like "/cygdrive/d/mercurial/tests/test", which obviously 
does not work outside of cygwin.

Besides, are there any plans to improve testing support on non-Unix 
platforms?

Thank you.

Patrick Mézard


More information about the Mercurial mailing list