tests/hghave: easier way to skip tests

Mads Kiilerich mads at kiilerich.com
Sat Jun 9 17:21:54 UTC 2012


Adrian Buehlmann wrote, On 06/09/2012 07:13 PM:
> On 2012-06-09 17:52, Eduard-Cristian Stefan wrote:
>> On 2012-06-09 18:28, Mads Kiilerich wrote:
>>> Possibly. But I'm not sure exactly what it should be used for and how important it is. We shouldn't need these kind of exceptions at all.
>> It would be an easy way to shorten the feedback loop,
>> since the test suite takes some time to complete.
>>
>> I can live without localizations, svn, git, and P4 tests
>> most of the time, and some env vars set in MSYS profile
>> will allow me to stop editing hghave after checkouts.
> http://selenic.com/pipermail/mercurial-devel/2012-May/040461.html
>
> I'm qpushing that patch here before I run the testsuite.
>
> It's mostly because I haven't investigated why these tools I have
> locally installed are causing the testsuite to fail (hangs and crashes).
>
> Does it fail on your computer as well? What other tools have you installed?
>
> Mads doesn't like to disable those hghave's.

The easy workaround is to set PATH so these tools isn't found.

I am sorry to have added a lot of ugly workarounds in the past - I would 
like to avoid adding more unless there is a good reason that make it a 
long term "solution".

/Mads



More information about the Mercurial-devel mailing list