]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Dothem: under --sha256 mode, skip tests with sha1 build
authorJunio C Hamano <gitster@pobox.com>
Mon, 12 May 2025 21:49:15 +0000 (14:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 May 2025 21:49:15 +0000 (14:49 -0700)
Dothem

diff --git a/Dothem b/Dothem
index e59c492e684b7f58abde2f96e29ef34f7c2500cd..1f597b90b9470960b4f1f1b01be33ba1980d5572 100755 (executable)
--- a/Dothem
+++ b/Dothem
@@ -270,15 +270,15 @@ do
                Meta/Make $M $jobs -- hdr-check &&
 
                # SANITIZE=address,undefined
-               case "$dotest,$san" in
+               case "$dotest,$san,$with_sha256" in
                '')
                        ;;
-               test,)
+               test,,)
                        section test
                        Meta/Make $M $noprove ${test+"$test"} $jobs $test_long $memtrash \
                            -- ${with_dash:+SHELL_PATH=/bin/dash} "$@" $dotest
                        ;;
-               *,t)
+               *,t,*)
                        section SANITIZE=address,undefined
                        SANITIZE=address,undefined Meta/Make $M $jobs test &&
                        Meta/Make >/dev/null distclean