summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-09-13 06:21:36 +0000
committerjlam <jlam@pkgsrc.org>2003-09-13 06:21:36 +0000
commit5e9fc8d16073a8db1aee2013f167a681c947b172 (patch)
tree8cc3baa6d87f6bbbfe42eecdb40b63bf8e6402f7
parent3555c55a856112cbf59b9e9f08d727b2b88b74fb (diff)
downloadpkgsrc-5e9fc8d16073a8db1aee2013f167a681c947b172.tar.gz
Only run the tests if TEST_TARGET is non-empty.
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
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