]> git.ipfire.org Git - thirdparty/git.git/commit
t: stop announcing prereqs
authorPatrick Steinhardt <ps@pks.im>
Mon, 2 Jun 2025 06:44:41 +0000 (08:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Jun 2025 14:51:41 +0000 (07:51 -0700)
commitfaac9d46e0e2e87d87b0b4e2b9afbf68deaf234d
treebd1bbf0bf636cc8530a2dbded2be24d5f40922fb
parent8613c2bb6cd16ef530dc5dd74d3b818a1ccbf1c0
t: stop announcing prereqs

We have a couple of cases where our tests end up announcing that a
certain prerequisite is or isn't fulfilled. While this is supposed to
help the developer it has the downside that it breaks the TAP format.

We could convert these cases to just have a "#" prefix, but it feels
rather unlikely that these are generally useful in the first place. We
already do announce why a specific test is being skipped, so we should
try to use this mechanism to the best extent possible.

Stop announcing these prereqs to fix the TAP format. Where possible,
convert the tests to rely on the prerequisites themselves to announce
why a test ran or didn't ran.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0050-filesystem.sh
t/t3600-rm.sh
t/t4000-diff-format.sh
t/t9500-gitweb-standalone-no-errors.sh
t/t9903-bash-prompt.sh