diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-07-28 01:13:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-07-27 16:35:40 -0700 |
commit | 46fb057aaad2cfcbf6cdf409fcf241a362ad77b3 (patch) | |
tree | c2a2cd16b34ffdbec463537947c14697e50772d3 /commit.c | |
parent | 25c2351d85bf19cfd0b19e2de8468c3604897dcf (diff) |
test-lib: add a --invert-exit-code switch
Add the ability to have those tests that fail return 0, and those
tests that succeed return 1. This is useful e.g. to run "--stress"
tests on tests that fail 99% of the time on some setup, i.e. to smoke
out the flaky run which yielded success.
In a subsequent commit a new SANITIZE=leak mode will make use of this.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions