enable tests in devel/ruby-hoe

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

enable tests in devel/ruby-hoe

Sebastian Reitenbach
with updated devel/minitest, tests can be enabled in ruby-hoe as well. Running tests results in:
32 runs, 97 assertions, 0 failures, 0 errors, 0 skips

comments, concerns, or even OK?

cheers,
Sebastian

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/ruby-hoe/Makefile,v
retrieving revision 1.27
diff -u -p -u -r1.27 Makefile
--- Makefile 5 Nov 2017 17:27:20 -0000 1.27
+++ Makefile 13 Mar 2019 14:13:30 -0000
@@ -3,6 +3,7 @@
 COMMENT= simple rake/rubygems helper for project Rakefiles

 DISTNAME= hoe-3.16.1
+REVISION = 0
 CATEGORIES= devel

 # MIT
@@ -12,6 +13,7 @@ MODULES= lang/ruby

 CONFIGURE_STYLE=ruby gem

-# Tests require minitest > 5.3, which isn't in ports.
+MODRUBY_TEST = rake
+TEST_DEPENDS = devel/ruby-minitest,${MODRUBY_FLAVOR},>=5.11.3

 .include <bsd.port.mk>

ruby-hoe-enable-tests.diff (924 bytes) Download Attachment