Module Name: src
Committed By: rillig
Date: Sun Aug 23 17:22:52 UTC 2020
Modified Files:
src/usr.bin/make: Makefile
Log Message:
make(1): allow to run only selected tests via the command line
To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/usr.bin/make/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/Makefile
diff -u src/usr.bin/make/Makefile:1.91 src/usr.bin/make/Makefile:1.92
--- src/usr.bin/make/Makefile:1.91 Sat Aug 22 20:50:43 2020
+++ src/usr.bin/make/Makefile Sun Aug 23 17:22:52 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2020/08/22 20:50:43 sjg Exp $
+# $NetBSD: Makefile,v 1.92 2020/08/23 17:22:52 rillig Exp $
# @(#)Makefile 5.2 (Berkeley) 12/28/90
PROG= make
@@ -168,7 +168,7 @@ COPTS+= -Wdeclaration-after-statement
TEST_MAKE ?= ${.OBJDIR}/${PROG:T}
test: .MAKE
cd ${.CURDIR}/unit-tests \
- && MAKEFLAGS= ${TEST_MAKE} -r -m / TEST_MAKE=${TEST_MAKE} ${.TARGET}
+ && MAKEFLAGS= ${TEST_MAKE} -r -m / TEST_MAKE=${TEST_MAKE} ${TESTS:DTESTS=${TESTS:Q}} ${.TARGET}
.if ${USE_COVERAGE} == yes
${GCOV} ${GCOV_OPTS} ${SRCS}
sed -i 's,^\([^:]*\): *[0-9]*:,\1: ,' *.gcov