Meta/Make: disable unit tests when --tests=<num> is given

This commit is contained in:
Junio C Hamano
2024-04-18 08:54:46 -07:00
parent e6a0fc2e0e
commit cf19d6a4d3

2
Make
View File

@@ -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"