diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2022-09-01 00:29:55 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-09-01 10:07:41 -0700 |
commit | 69b9924b875079babb1d3f665bdc719c4871ba73 (patch) | |
tree | 092c004f187f519e93f31e4fa8fbca425387a490 /builtin/commit-graph.c | |
parent | 23a14f301662df6d003b5bf4dc598f02311c6b30 (diff) |
t/Makefile: teach `make test` and `make prove` to run chainlint.pl
Unlike chainlint.sed which "lints" a single test body at a time, thus is
invoked once per test, chainlint.pl can check all test bodies in all
test scripts with a single invocation. As such, it is akin to other bulk
"linters" run by the Makefile, such as `test-lint-shell-syntax`,
`test-lint-duplicates`, etc.
Therefore, teach `make test` and `make prove` to invoke chainlint.pl
along with the other bulk linters. Also, since the single chainlint.pl
invocation by `make test` or `make prove` has already checked all tests
in all scripts, instruct the individual test scripts not to run
chainlint.pl on themselves unnecessarily.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions