]> git.ipfire.org Git - thirdparty/git.git/commit
t/Makefile: optimize chainlint self-test
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 13 Dec 2021 06:30:49 +0000 (01:30 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Dec 2021 22:15:28 +0000 (14:15 -0800)
commitf30c1d5eb1ceeec460ea4cd2089ece63156f5eb0
tree976239e9658fd8d25f96640bb8db649890b2c8d2
parent0cca54c706128338ee79efb55e9c0ddb6be723dc
t/Makefile: optimize chainlint self-test

Rather than running `chainlint` and `diff` once per self-test -- which
may become expensive as more tests are added -- instead run `chainlint`
a single time over all tests bodies collectively and compare the result
to the collective "expected" output.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/Makefile