Running tests on Windows

Patrick Mézard pmezard at gmail.com
Fri Jun 23 11:34:09 CDT 2006


Matt Mackall wrote:
> On Thu, Jun 22, 2006 at 05:02:39PM +0200, Patrick M?zard wrote:
>   
>> Besides, are there any plans to improve testing support on non-Unix 
>> platforms?
>>     
>
> The plan now is to write a simple sh-like shell in Python and port the
> test scripts to it, hopefully with very few changes
Would not it be easier to rewrite tests in pure python instead of trying 
to emulate shell commands? python is already some kind of portable 
shell, most people likely to write shell test scripts for mercurial 
probably also know python, it is much more powerful and extensible than 
shell scripts.

The only drawback I can see is the testing context will be different and 
may hide or make some bugs less reproducible. Anyway it will also be the 
case with a sh-like python shell.

--
Patrick Mézard


More information about the Mercurial mailing list