pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Only run the tests if TEST_TARGET is non-empty.
details: https://anonhg.NetBSD.org/pkgsrc/rev/554b268909e7
branches: trunk
changeset: 461247:554b268909e7
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Sep 13 06:21:36 2003 +0000
description:
Only run the tests if TEST_TARGET is non-empty.
diffstat:
mk/bsd.pkg.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7a901c209199 -r 554b268909e7 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sat Sep 13 06:12:13 2003 +0000
+++ b/mk/bsd.pkg.mk Sat Sep 13 06:21:36 2003 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index