summaryrefslogtreecommitdiff
path: root/textproc/ruby-htree
diff options
context:
space:
mode:
authorobache <obache>2010-07-31 01:44:38 +0000
committerobache <obache>2010-07-31 01:44:38 +0000
commit361003db2dd32295f19243ecbaec4063ad4c038b (patch)
tree4b1fe8e58ce6e3a5061cf46e53b5de4fe5e1098a /textproc/ruby-htree
parentcd3acd4e89c94de8891533ad1689702410ecfce0 (diff)
downloadpkgsrc-361003db2dd32295f19243ecbaec4063ad4c038b.tar.gz
Add test target.
Diffstat (limited to 'textproc/ruby-htree')
-rw-r--r--textproc/ruby-htree/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/ruby-htree/Makefile b/textproc/ruby-htree/Makefile
index 47e4c4c907d..01fe7caee27 100644
--- a/textproc/ruby-htree/Makefile
+++ b/textproc/ruby-htree/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2010/06/12 09:47:16 obache Exp $
+# $NetBSD: Makefile,v 1.8 2010/07/31 01:44:38 obache Exp $
DISTNAME= htree-0.7
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
@@ -17,5 +17,8 @@ USE_RUBY_INSTALL= yes
INSTALL_TARGET= --destdir=${DESTDIR}
+do-test:
+ ${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${RUBY} -I. test-all.rb
+
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"