From: Junio C Hamano Date: Thu, 18 Apr 2024 15:54:46 +0000 (-0700) Subject: Meta/Make: disable unit tests when --tests= is given X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf19d6a4d3e8f154d0072cac86ae5be45e89c8c7;p=thirdparty%2Fgit.git Meta/Make: disable unit tests when --tests= is given --- diff --git a/Make b/Make index 8f29456444..1e357b2f8f 100755 --- a/Make +++ b/Make @@ -291,7 +291,7 @@ ${make-make} \ SPATCH_FLAGS="--all-includes --recursive-includes --patch ." \ SPATCH_BATCH_SIZE=16 \ CFLAGS="-g -Wall -Wunused -Wdeclaration-after-statement -std=gnu99${O:+ $O}" \ - ${tests:+"T=$tests"} \ + ${tests:+"T=$tests"} ${tests:+UNIT_TESTS=} \ "$@" status=$? eval "$clean"