diff options
| author | Victoria Dye <vdye@github.com> | 2022-05-21 22:18:53 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-05-21 16:25:56 -0700 |
| commit | 110e91150ddb8caa75be8e1ffb937047dbd2752f (patch) | |
| tree | 6075c35575ef7edfd26138de923c4de9192b6228 /t/test-lib-functions.sh | |
| parent | ci(github): skip the logs of the successful test cases (diff) | |
| download | git-110e91150ddb8caa75be8e1ffb937047dbd2752f.tar.gz git-110e91150ddb8caa75be8e1ffb937047dbd2752f.zip | |
ci(github): avoid printing test case preamble twice
We want to mark up the test case preamble when presenting test output in
Git's GitHub workflow. Let's suppress the non-marked-up version in that
case. Any information it would contain is included in the marked-up
variant already.
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib-functions.sh')
| -rw-r--r-- | t/test-lib-functions.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index af4831a54c..89a5e146b7 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -803,6 +803,7 @@ test_expect_failure () { export test_prereq if ! test_skip "$@" then + test -n "$test_skip_test_preamble" || say >&3 "checking known breakage of $TEST_NUMBER.$test_count '$1': $2" if test_run_ "$2" expecting_failure then @@ -823,6 +824,7 @@ test_expect_success () { export test_prereq if ! test_skip "$@" then + test -n "$test_skip_test_preamble" || say >&3 "expecting success of $TEST_NUMBER.$test_count '$1': $2" if test_run_ "$2" then |
