[PATCH 1 of 2] test-chg: run only with chg

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Jun 6 05:04:14 UTC 2016



On 05/29/2016 03:40 PM, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1458511143 25200
> #      Sun Mar 20 14:59:03 2016 -0700
> # Node ID f4d797228ecddcebfe86a9f726cdd55df49ef874
> # Parent  9da137faaa9c9593f821923189316e7fcb38cf67
> test-chg: run only with chg
> 
> It doesn't make sense to run test-chg.t without chg, so ignore it with vanilla
> hg, and specify chg executable explicitly.
> 
> test-chg.t can host chg-specific tests.

I'm still a bit puzzle by the mechanism here. In my opinion it would
make sense to test if chg works in all case, that way if someone
introduce something that break the basic chg principle we would detect
it in all cases.

Having this running only if --chg is specify defeat this principle. Are
we building (and making available) chg in all case? or only when we use it?

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list