Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): allow to run only selected tests via t...



details:   https://anonhg.NetBSD.org/src/rev/c187cac683c0
branches:  trunk
changeset: 937691:c187cac683c0
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Aug 23 17:22:52 2020 +0000

description:
make(1): allow to run only selected tests via the command line

diffstat:

 usr.bin/make/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 781181892ce3 -r c187cac683c0 usr.bin/make/Makefile
--- a/usr.bin/make/Makefile     Sun Aug 23 17:04:21 2020 +0000
+++ b/usr.bin/make/Makefile     Sun Aug 23 17:22:52 2020 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index