diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-02-04 14:42:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-04 12:34:41 -0800 |
commit | 0a2bfccb9c85458f329fdbf714af699edd86fe32 (patch) | |
tree | bed7f8a10b174e96d4fb8e50dba4a4dfd5e6e8b1 /reftable/error.c | |
parent | Sync with Git 2.35.1 (diff) | |
download | tgif-0a2bfccb9c85458f329fdbf714af699edd86fe32.tar.xz |
t0051: use "skip_all" under !MINGW in single-test file
Have this file added in 06ba9d03e34 (t0051: test GIT_TRACE to a
windows named pipe, 2018-09-11) use the same "skip_all" pattern as an
existing Windows-only test added in 0e218f91c29 (mingw: unset PERL5LIB
by default, 2018-10-30) uses.
This way TAP consumers like "prove" will show a nice summary when the
test is skipped. Instead of:
$ prove t0051-windows-named-pipe.sh
[...]
t0051-windows-named-pipe.sh .. ok
[...]
We will prominently show a "skipped" notice:
$ prove t0051-windows-named-pipe.sh
[...]
t0051-windows-named-pipe.sh ... skipped: skipping Windows-specific tests
[...]
This is because we are now making use of the right TAP-y way to
communicate this to the consumer. I.e. skipping the whole test file,
v.s. skipping individual tests (in this case there's only one test).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reftable/error.c')
0 files changed, 0 insertions, 0 deletions