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

Jun Wu quark at fb.com
Mon Jun 6 12:24:29 EDT 2016


We have 3 kinds of tests:

1. Common tests: Tests can be run by either chg or hg. The majority of
   tests are "common tests".
2. hg-only tests. Tests not supported by chg. For example, tests checking
   backtraces.
3. chg-only tests. This is test-chg.t. Tests are specially designed to check
   some chg-only behaviors. They do not make much sense for normal hg.

chg needs to run 1 and 3. hg needs to run 1 and 2.

Hope I have made things a bit clearer.

Excerpts from Pierre-Yves David's message of 2016-06-06 07:04:14 +0200:
> 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?


More information about the Mercurial-devel mailing list