pkgsrc-Changes archive

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

CVS commit: pkgsrc/regress/buildlink-transform



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat May  9 22:42:37 UTC 2020

Modified Files:
        pkgsrc/regress/buildlink-transform: Makefile

Log Message:
regress/buildlink-transform: clean up code


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/regress/buildlink-transform/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/regress/buildlink-transform/Makefile
diff -u pkgsrc/regress/buildlink-transform/Makefile:1.21 pkgsrc/regress/buildlink-transform/Makefile:1.22
--- pkgsrc/regress/buildlink-transform/Makefile:1.21    Sat May  9 22:39:53 2020
+++ pkgsrc/regress/buildlink-transform/Makefile Sat May  9 22:42:37 2020
@@ -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 @@ TEST_DIR=    ${.CURDIR}/tests
 
 # 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