pkgsrc-WIP-changes archive

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

wip/mk/tests: add Makefile in addition to Kyuafile



Module Name:	pkgsrc-wip
Committed By:	Roland Illig <rillig%NetBSD.org@localhost>
Pushed By:	rillig
Date:		Sun Mar 24 20:42:30 2019 +0000
Changeset:	0a25f44f9022b281781f2e3e92e8ded17e41946a

Added Files:
	mk/tests/Makefile

Log Message:
wip/mk/tests: add Makefile in addition to Kyuafile

Kyua requires the test programs to be executable. Since all files
in pkgsrc-wip should be non-executable, provide a Makefile as an
alternative way to run the tests.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0a25f44f9022b281781f2e3e92e8ded17e41946a

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

diffstat:
 mk/tests/Makefile | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diffs:
diff --git a/mk/tests/Makefile b/mk/tests/Makefile
new file mode 100644
index 0000000000..768323f652
--- /dev/null
+++ b/mk/tests/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+TESTS=	   cvs-show-all    cvs-single    cvs-checkout_date    cvs-multi
+TESTS+=	fossil-show-all fossil-single fossil-checkout_date fossil-multi
+TESTS+=	   git-show-all    git-single    git-checkout_date    git-multi
+TESTS+=	    hg-show-all     hg-single     hg-checkout_date     hg-multi
+TESTS+=	   svn-show-all    svn-single    svn-checkout_date    svn-multi
+TESTS+=	zzz-copy-paste
+
+test: .PHONY
+.for test in ${TESTS}
+	${SH:U/bin/sh} ./${test}
+.endfor


Home | Main Index | Thread Index | Old Index