diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2010-06-24 17:44:48 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-25 10:08:20 -0700 |
commit | fadb5156e485e9d25c89d4b4f96c2d4fe6db6187 (patch) | |
tree | eb89a099061fc53a086a4a305bc517338b34f9b9 /t/t3701-add-interactive.sh | |
parent | test-lib: output a newline before "ok" under a TAP harness (diff) | |
download | tgif-fadb5156e485e9d25c89d4b4f96c2d4fe6db6187.tar.xz |
tests: Skip tests in a way that makes sense under TAP
SKIP messages are now part of the TAP plan. A TAP harness now knows
why a particular test was skipped and can report that information. The
non-TAP harness built into Git's test-lib did nothing special with
these messages, and is unaffected by these changes.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3701-add-interactive.sh')
-rwxr-xr-x | t/t3701-add-interactive.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3701-add-interactive.sh b/t/t3701-add-interactive.sh index b6eba6a839..7ad8465f8f 100755 --- a/t/t3701-add-interactive.sh +++ b/t/t3701-add-interactive.sh @@ -4,7 +4,7 @@ test_description='add -i basic tests' . ./test-lib.sh if ! test_have_prereq PERL; then - say 'skipping git add -i tests, perl not available' + skip_all='skipping git add -i tests, perl not available' test_done fi @@ -154,7 +154,7 @@ rm -f .gitignore if test "$(git config --bool core.filemode)" = false then - say 'skipping filemode tests (filesystem does not properly support modes)' + say '# skipping filemode tests (filesystem does not properly support modes)' else test_set_prereq FILEMODE fi |