pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/build mk/build/test.mk: clean up line continuations



details:   https://anonhg.NetBSD.org/pkgsrc/rev/429da399a0bb
branches:  trunk
changeset: 341049:429da399a0bb
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 13 10:34:37 2019 +0000

description:
mk/build/test.mk: clean up line continuations

diffstat:

 mk/build/test.mk |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (23 lines):

diff -r 6cbddcfc3001 -r 429da399a0bb mk/build/test.mk
--- a/mk/build/test.mk  Sun Oct 13 09:43:49 2019 +0000
+++ b/mk/build/test.mk  Sun Oct 13 10:34:37 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: test.mk,v 1.21 2019/05/07 19:36:43 rillig Exp $
+# $NetBSD: test.mk,v 1.22 2019/10/13 10:34:37 rillig Exp $
 #
 # After the "build" phase, many packages provide some sort of self-test
 # that can be run on the not-yet installed package. To enable these
@@ -145,10 +145,9 @@
 .if !target(do-test)
 .  if defined(TEST_TARGET) && !empty(TEST_TARGET)
 do-test:
-.    for _dir_ in ${TEST_DIRS}
-       ${RUN}${_ULIMIT_CMD}                    \
-       cd ${WRKSRC} && cd ${_dir_} &&                                  \
-       ${TEST_MAKE_CMD} ${TEST_TARGET}
+.    for dir in ${TEST_DIRS}
+       ${RUN}${_ULIMIT_CMD} cd ${WRKSRC} && cd ${dir} \
+       && ${TEST_MAKE_CMD} ${TEST_TARGET}
 .    endfor
 .  else
 do-test:



Home | Main Index | Thread Index | Old Index