tests/hghave: easier way to skip tests

Mads Kiilerich mads at kiilerich.com
Sun Jun 10 12:11:00 CDT 2012


Adrian Buehlmann wrote, On 06/09/2012 08:14 PM:
> On 2012-06-09 19:21, Mads Kiilerich wrote:
>> The easy workaround is to set PATH so these tools isn't found. 
> That might work. However, on Windows, PATH is often configured by
> installing, so users don't usually modify PATH. It's also pretty ugly,
> as the respective dialogs on Windows to modify the PATH are pretty
> clumsy (although there are programs that help there).
>
> Another problem is, that on Windows there are two PATHs: One is in the
> "System variables" and the second one is in the "user variables".
> Changing the former requires admin rights. For example I see here, that
> I have "C:\Program Files\Perforce" (for p4.exe) in the "System
> variables" PATH. I'm pretty sure this was configured like this by the
> Perforce installer.

Is it not possible to set PATH as a part of the command line for 
invoking run-tests? That works the places I have tried to run the tests.

/Mads



More information about the Mercurial-devel mailing list