mirror of
https://github.com/git/git.git
synced 2026-01-22 23:07:18 +09:00
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:
commit
ef3e0163cb
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user