From 5e9fc8d16073a8db1aee2013f167a681c947b172 Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 13 Sep 2003 06:21:36 +0000 Subject: Only run the tests if TEST_TARGET is non-empty. --- mk/bsd.pkg.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 530c2ea8058..3ca96f11736 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1275 2003/09/13 05:55:14 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1276 2003/09/13 06:21:36 jlam Exp $ # # This file is in the public domain. # @@ -2351,7 +2351,7 @@ TEST_ENV+= ${MAKE_ENV} .PHONY: do-test .if !target(do-test) do-test: -. if defined(TEST_TARGET) +. if defined(TEST_TARGET) && !empty(TEST_TARGET) . for DIR in ${TEST_DIRS} ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD}cd ${DIR} && ${SETENV} ${TEST_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${TEST_TARGET} . endfor -- cgit v1.2.3