summaryrefslogtreecommitdiff
path: root/textproc/ruby-htree
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-07-31 01:44:38 +0000
committerobache <obache@pkgsrc.org>2010-07-31 01:44:38 +0000
commit18b3e666cc2bd8f92eb4f031c5530f3221f2f1e8 (patch)
tree4b1fe8e58ce6e3a5061cf46e53b5de4fe5e1098a /textproc/ruby-htree
parent54f875a8694d22f156d858311b8725a7bdea9a54 (diff)
downloadpkgsrc-18b3e666cc2bd8f92eb4f031c5530f3221f2f1e8.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"