]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Make: disable unit tests when --tests=<num> is given
authorJunio C Hamano <gitster@pobox.com>
Thu, 18 Apr 2024 15:54:46 +0000 (08:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Apr 2024 15:54:46 +0000 (08:54 -0700)
Make

diff --git a/Make b/Make
index 8f29456444e2cc32a5b963a8514e20421b0f3023..1e357b2f8f3b88c961468592e0b528e1e8cb44cc 100755 (executable)
--- 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"