Enable regress tests.

OK landry@
This commit is contained in:
jeremy 2011-03-25 16:39:24 +00:00
parent a3db2d178c
commit 63db5513d4
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2011/01/06 04:24:24 jeremy Exp $
# $OpenBSD: Makefile,v 1.11 2011/03/25 16:39:24 jeremy Exp $
COMMENT= event-driven I/O for Ruby using the Reactor pattern
@ -20,4 +20,9 @@ WANTLIB= crypto ssl stdc++
CONFIGURE_STYLE=ruby gem ext
MODRUBY_REGRESS = rake
do-regress:
cd ${WRKSRC} && RUBYOPT=-Ilib:. ${RAKE} default
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2011/03/14 17:58:06 jeremy Exp $
# $OpenBSD: Makefile,v 1.11 2011/03/25 16:39:24 jeremy Exp $
COMMENT = fast and very simple Ruby web server
@ -22,4 +22,9 @@ RUN_DEPENDS = www/ruby-rack,${MODRUBY_FLAVOR}>=1.0.0 \
devel/ruby-daemons,${MODRUBY_FLAVOR}>=1.0.9 \
net/ruby-eventmachine,${MODRUBY_FLAVOR}>=0.12.6
MODRUBY_REGRESS = rspec
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
do-regress:
cd ${WRKSRC} && RUBYOPT=-I. ${RSPEC} spec/*_spec.rb
.include <bsd.port.mk>