Page MenuHomePhabricator

tests: use testrepohg in test-check tests
ClosedPublic

Authored by quark on Dec 15 2017, 2:55 PM.

Details

Reviewers
singhsrb
Group Reviewers
Restricted Project
Commits
rFBHGX32ceeccb832c: tests: use testrepohg in test-check tests
Summary

Similar to upstream commit ddd65b4f (tests: alias syshg and syshgenv so they
can be switched conditionally, 2017-07-01), use testrepohg so it can use
system hg to handle additional repo requirements like lz4revlog or
treedirstate.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

quark created this revision.Dec 15 2017, 2:55 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptDec 15 2017, 2:55 PM
singhsrb accepted this revision.Dec 15 2017, 3:14 PM
singhsrb added a subscriber: singhsrb.

Thanks for the change! I added a few more places where this is needed for all the tests to pass on my machine.

tests/test-check-code-hg.t
10–11

hg locate -> testrepohg locate

110

This needs update as well.

114

This needs update as well.

tests/test-check-commit-hg.t
20–21

this need update as well.

This revision is now accepted and ready to land.Dec 15 2017, 3:14 PM
singhsrb updated this revision to Diff 4515.Dec 15 2017, 3:16 PM
This revision was automatically updated to reflect the committed changes.