Merge branch 'js/ci-leak-skip-svn' into jch

Dscho observed that SVN tests are taking too much time in CI leak
checking tasks, but most time is spent not in our code but in libsvn
code (which happen to be written in Perl), whose leaks have little
value to discover for us.  Skip SVN, P4, and CVS tests in the leak
checking tasks.

* js/ci-leak-skip-svn:
  ci: skip CVS and P4 tests in leaks job, too
  ci(*-leaks): skip the git-svn tests to save time
This commit is contained in:
Junio C Hamano 2026-01-21 08:31:11 -08:00
commit ef3e0163cb
3 changed files with 14 additions and 0 deletions

View File

@ -356,6 +356,9 @@ linux-musl-meson)
;;
linux-leaks|linux-reftable-leaks)
export SANITIZE=leak
export NO_CVS_TESTS=LetsSaveSomeTime
export NO_SVN_TESTS=LetsSaveSomeTime
export NO_P4_TESTS=LetsSaveSomeTime
;;
linux-asan-ubsan)
export SANITIZE=address,undefined

View File

@ -2,6 +2,12 @@
. ./test-lib.sh
if test -n "$NO_CVS_TESTS"
then
skip_all='skipping git cvs tests, NO_CVS_TESTS defined'
test_done
fi
unset CVS_SERVER
if ! type cvs >/dev/null 2>&1

View File

@ -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'