Windows Tests

Adrian Buehlmann adrian at cadifra.com
Thu May 5 04:47:30 CDT 2011


On 2011-05-05 10:40, Mads Kiilerich wrote:
> On 05/05/2011 09:30 AM, Martin Geisler wrote:
>> Isaac Jurado<diptongo at gmail.com>  writes:
>>
>>> On Wed, May 4, 2011 at 2:51 PM, Matt Mackall<mpm at selenic.com>  wrote:
>>>>
>>>> So we've either got to figure out how to run the existing tests on
>>>> Windows unmodified
>>>
>>> Maybe something like this?  Although a bit outdated:
>>>
>>>      http://unxutils.sourceforge.net/
>>>
>>> The MSYS may work too:
>>>
>>>      http://www.mingw.org/wiki/msys
>>>
>>> Both alternatives are much lighter than a full Cygwin install.  Even
>>> including a bourne-shell.
>>
>> I think part of the fun is to run the commands using cmd.exe -- this is
>> what most users will end up doing, so if the test suite is to have any
>> value, we need to test in that environment.
> 
> Why do we have to test cmd.exe? It does a lot of strange calls before it 
> makes the slightly less strange system calls, and it would be nice to 
> leave that out of the equation as much as possible.

An interesting goal would be to somehow get the things inside

if os.name == 'nt':
    ...

stressed automatically, regularly and without much fuss.


More information about the Mercurial-devel mailing list