mirror of
https://github.com/git/git.git
synced 2026-01-12 13:53:11 +09:00
Meta/Dothem: allow optional sanitize tests
This commit is contained in:
parent
bb4ffbe30e
commit
8fe2ce96f1
21
Dothem
21
Dothem
@ -212,20 +212,19 @@ do
|
||||
|
||||
Meta/Make $M $jobs -- hdr-check &&
|
||||
|
||||
case "$san" in
|
||||
'') ;;
|
||||
?*)
|
||||
SANITIZE=address Meta/Make $M $jobs test &&
|
||||
SANITIZE=undefined Meta/Make $M $jobs test &&
|
||||
SANITIZE=leak \
|
||||
GIT_TEST_PASSING_SANITIZE_LEAK=true Meta/Make $M $jobs test &&
|
||||
Meta/Make distclean >/dev/null 2>&1
|
||||
case "$dotest,$san" in
|
||||
'')
|
||||
;;
|
||||
test,)
|
||||
Meta/Make $M $noprove ${test+"$test"} $jobs $test_long $memtrash \
|
||||
-- ${with_dash:+SHELL_PATH=/bin/dash} "$@" $dotest
|
||||
;;
|
||||
*,t)
|
||||
SANITIZE=address,undefined Meta/Make $M $jobs test &&
|
||||
Meta/Make >/dev/null distclean
|
||||
;;
|
||||
esac &&
|
||||
|
||||
Meta/Make $M $noprove ${test+"$test"} $jobs $test_long $memtrash \
|
||||
-- ${with_dash:+SHELL_PATH=/bin/dash} "$@" $dotest &&
|
||||
|
||||
{
|
||||
test -n "$skip_doc" ||
|
||||
if test "$save" = "$(git rev-parse HEAD)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user