summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-04-18 08:54:46 -0700
committerJunio C Hamano <gitster@pobox.com>2024-04-18 08:54:46 -0700
commitcf19d6a4d3e8f154d0072cac86ae5be45e89c8c7 (patch)
treeb656a31237e4b2a8b80f5ace77785962b6bcca39
parente6a0fc2e0e42fbd62a5f55db9178940c19c4efac (diff)
downloadgit-cf19d6a4d3e8f154d0072cac86ae5be45e89c8c7.tar.gz
Meta/Make: disable unit tests when --tests=<num> is given
-rwxr-xr-xMake2
1 files changed, 1 insertions, 1 deletions
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"