pkgsrc-WIP-changes archive

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

mruby: add a 'do-test' target to launch the test suite.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fcambus%NetBSD.org@localhost>
Pushed By:	fcambus
Date:		Fri Mar 20 11:48:21 2020 +0100
Changeset:	6ad984c1cafacbad40e59957b3989bc25058adbc

Modified Files:
	mruby/Makefile

Log Message:
mruby: add a 'do-test' target to launch the test suite.

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

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

diffstat:
 mruby/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diffs:
diff --git a/mruby/Makefile b/mruby/Makefile
index 9fb740f8d8..0607606262 100644
--- a/mruby/Makefile
+++ b/mruby/Makefile
@@ -28,6 +28,9 @@ do-install:
 	cd ${WRKSRC}/include && ${PAX} -wr *  ${DESTDIR}${PREFIX}/include
 	${INSTALL_DATA} ${WRKSRC}/doc/guides/* ${DESTDIR}${PREFIX}/${DOCDIR}
 
+do-test:
+	cd ${WRKSRC} && RUBY=${RUBY} ${RUBY} ./minirake test
+
 .include "../../lang/ruby/replace.mk"
 .include "../../lang/ruby/rubyversion.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index