aboutsummaryrefslogtreecommitdiff
path: root/t/lib-git-p4.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-01-17 10:34:17 -0800
committerJunio C Hamano <gitster@pobox.com>2026-01-19 11:02:31 -0800
commit047bd7dfe3b6563ea5f6543533207e3481f3e74c (patch)
tree2a84bb28d51ce4a71b5c886d25b9942cb06985e3 /t/lib-git-p4.sh
parentd7971544fe17378f44f49983010dbfc1834f7bef (diff)
downloadgit-047bd7dfe3b6563ea5f6543533207e3481f3e74c.tar.xz
ci: skip CVS and P4 tests in leaks job, too
Looking at the CI logs, the p4 and cvs tests account for another 24 minutes of test time and they offer minimal value for quite a similar reason as the previous step. Let's introduce and use a mechanism to skip these tests to save some resources. Suggested-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-git-p4.sh')
-rw-r--r--t/lib-git-p4.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/lib-git-p4.sh b/t/lib-git-p4.sh
index 2a5b8738ea..d22e9c684a 100644
--- a/t/lib-git-p4.sh
+++ b/t/lib-git-p4.sh
@@ -16,6 +16,11 @@ P4D_TIMEOUT=300
. ./test-lib.sh
+if test -n "$NO_P4_TESTS"
+then
+ skip_all='skipping git p4 tests, NO_P4_TESTS defined'
+ test_done
+fi
if ! test_have_prereq PYTHON
then
skip_all='skipping git p4 tests; python not available'