Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictoria Dye <vdye@github.com>2022-05-22 01:18:53 +0300
committerJunio C Hamano <gitster@pobox.com>2022-05-22 02:25:56 +0300
commit110e91150ddb8caa75be8e1ffb937047dbd2752f (patch)
tree6075c35575ef7edfd26138de923c4de9192b6228 /t/test-lib-github-workflow-markup.sh
parent448de909a7dc0e0cc80aff6eff84de56a4c8bbfc (diff)
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-github-workflow-markup.sh')
-rw-r--r--t/test-lib-github-workflow-markup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test-lib-github-workflow-markup.sh b/t/test-lib-github-workflow-markup.sh
index 1ef0fd5ba8..9c5339c577 100644
--- a/t/test-lib-github-workflow-markup.sh
+++ b/t/test-lib-github-workflow-markup.sh
@@ -20,6 +20,8 @@
# workflows; these functions will then override (empty) functions
# that are are called at the appropriate times during the test runs.
+test_skip_test_preamble=t
+
start_test_output () {
test -n "$GIT_TEST_TEE_OUTPUT_FILE" ||
die "--github-workflow-markup requires --verbose-log"