Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/regress/buildlink-transform regress/buildlink-transfor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5c7a8a74701
branches:  trunk
changeset: 431177:e5c7a8a74701
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 09 22:42:37 2020 +0000

description:
regress/buildlink-transform: clean up code

diffstat:

 regress/buildlink-transform/Makefile |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (23 lines):

diff -r 6a59cedd0480 -r e5c7a8a74701 regress/buildlink-transform/Makefile
--- a/regress/buildlink-transform/Makefile      Sat May 09 22:39:53 2020 +0000
+++ b/regress/buildlink-transform/Makefile      Sat May 09 22:42:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2020/05/09 22:39:53 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2020/05/09 22:42:37 rillig Exp $
 #
 # Run many buildlink transform tests in a single regression test to avoid
 # having to keep creating the wrapper scripts over and over again.
@@ -94,11 +94,8 @@
 
 # If RUNTESTS is defined, then just run those tests, otherwise run them all.
 .if defined(RUNTESTS)
-TEST_MAKEFILES=        ${RUNTESTS:S/^/${TEST_DIR}\//:S/$/.mk/}
-.  for _mkfile_ in ${TEST_MAKEFILES}
-.    if exists(${_mkfile_})
-.      include "${_mkfile_}"
-.    endif
+.  for mkfile in ${RUNTESTS:@test@ ${TEST_DIR}/${test}.mk @}
+.    include "${mkfile}"
 .  endfor
 .else
 .  include "tests/include-pkgdir-slashdot.mk"



Home | Main Index | Thread Index | Old Index