Page MenuHomePhabricator

[land-bot] Add basic test coverage
ClosedPublic

Authored by jasonbcox on Tue, Oct 13, 22:07.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC3b4e698c7e84: [land-bot] Add basic test coverage
Summary

This patch adds some test scaffolding for land-patch.sh.
While not particularly useful yet, it will be critical for testing
rebasing until git push is successful or fails (see D7468).

Test Plan

Verify new tests are run:

cmake -GNinja -DENABLE_SOURCE_CONTROL_TOOLS_TESTS=ON ..
ninja check-source-control-tools

Verify smoke tests run as usual:

./land-patch.sh --dry-run

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.