Overview

Mercurial test suite is a combination of shell scripts with reference outputs and a few python scripts, unusable on a pure Windows platform. [http://hg.intevation.org/beta/mercurial/pmezard/pysh/ pysh] is a unix shell implementation in python designed to run as many tests as possible. While running almost 90% of the test suite, the implementation suffers of the following limitations:

Setup

1. Setup [http://hg.intevation.org/beta/mercurial/pmezard/pysh/ pysh] and its dependencies according to README instructions.

2. Clone target "crew" or "crew-stable" (see CrewRepository).

3. Clone the related patch queue from [http://hg.intevation.org/beta/mercurial/pmezard/crew-stable-w32.mq/ crew-stable-w32.mq] or [http://hg.intevation.org/beta/mercurial/pmezard/crew-w32.mq/ crew-w32.mq] and apply it. Both queues are tagged with latest applied Mercurial revision. They are likely to apply on children ones as well, tests evolve rather slowly.

4. Run tests as usual with "run-tests.py" or using pysh "testhg.py" test runner (will require slight path editing).

Few people actually run this procedure and you are likely to encounter setup issues. Please do not give up ! Do not hesitate to send bug reports or suggestions to the author. This tool has been used for almost a year over several Mercurial releases and has proven quite reliable.