[PATCH 3 of 3 v2] tests: mark test-check-pyflakes.t as requiring hg1.0+

Yuya Nishihara yuya at tcha.org
Thu May 12 10:14:01 EDT 2016


On Wed, 11 May 2016 10:04:19 -0400, timeless wrote:
> On Wed, May 11, 2016 at 9:32 AM, Yuya Nishihara <yuya at tcha.org> wrote:
> > BTW, do we plan to add version requirements to all tests?  
> 
> I think I'm going to as I go. I have a series [1] which includes --rev
> argument for run-tests.py which lets you build a different version of
> hg for testing.
> 
> The specific reason* initially for these checks is just to let me run
> things and say "if hg isn't working enough, I should skip this check",
> and "hg" means "py3 hg".
> 
> Eventually that would mean that anything that uses hg in its tests
> would have a require hgXX, and I could have a testsuite that passes
> py3 hg w/o having a working hg.

Hmm, perhaps we can do that for test-check-* that run "hg" as a tool.

I don't think we should do for the other tests that actually test the behavior
of "hg". It would be boring to maintain all tests pass with all hg versions.


More information about the Mercurial-devel mailing list