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/56beab8bf6b8
branches:  trunk
changeset: 402620:56beab8bf6b8
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 ede902f9b225 -r 56beab8bf6b8 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