Meta/Make: disable unit tests when --tests=<num> is given
Junio C Hamano committed
Apr 18, 2024 at 08:54 UTC
cf19d6a4d3e8f154d0072cac86ae5be45e89c8c7
1 file changed
+1
-1
Make
+1
-1
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"