Fix regress tests.
OK landry@
This commit is contained in:
parent
63db5513d4
commit
30be1ec4da
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.12 2011/01/06 04:24:22 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.13 2011/03/25 16:39:54 jeremy Exp $
|
||||
|
||||
COMMENT= JSON implementation for Ruby
|
||||
|
||||
@ -19,5 +19,10 @@ MODULES= lang/ruby
|
||||
CONFIGURE_STYLE= ruby gem ext
|
||||
|
||||
MODRUBY_REGRESS= rake
|
||||
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
|
||||
|
||||
do-regress:
|
||||
cd ${WRKSRC} && /usr/bin/env -i ${MAKE_ENV} RUBYOPT=-rubygems \
|
||||
JSON=ext ${MODRUBY_BIN_TESTRB} tests/*.rb
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2011/01/06 04:24:22 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2011/03/25 16:39:54 jeremy Exp $
|
||||
|
||||
COMMENT= enhanced ruby mysql driver, supporting async and threading
|
||||
|
||||
@ -31,6 +31,6 @@ REGRESS_DEPENDS=databases/mysql,-server \
|
||||
MODRUBY_REGRESS=rake
|
||||
do-regress:
|
||||
cd ${WRKSRC} && \
|
||||
RUBYLIB=test:$(dirname `gem which mysqlplus`) rake test
|
||||
RUBYLIB=test:$(dirname `gem which mysqlplus`) ${RAKE} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/20 18:15:48 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/03/25 16:39:54 jeremy Exp $
|
||||
|
||||
COMMENT= fast Porter stemmer for ruby
|
||||
|
||||
@ -20,6 +20,6 @@ CONFIGURE_STYLE= ruby gem ext
|
||||
MODRUBY_REGRESS= rake
|
||||
REGRESS_DEPENDS= ${FULLPKGNAME}:${BUILD_PKGPATH}
|
||||
do-regress:
|
||||
cd ${WRKSRC} && RUBYOPT=-rubygems ${RAKE} test
|
||||
cd ${WRKSRC} && RUBYOPT="-I. -rubygems" ${RAKE} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2010/11/24 21:35:15 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2011/03/25 16:39:54 jeremy Exp $
|
||||
|
||||
COMMENT= flexible HTML parser
|
||||
|
||||
@ -23,7 +23,7 @@ CONFIGURE_STYLE= ruby gem ext
|
||||
REGRESS_DEPENDS= ${FULLPKGNAME}:${BUILD_PKGPATH}
|
||||
|
||||
do-regress:
|
||||
@cd ${WRKSRC} && /usr/local/bin/ruby -rubygems -Ilib:test:lib \
|
||||
@cd ${WRKSRC} && ${RUBY} -rubygems -Ilib:test \
|
||||
-e "ARGV.each { |f| load f unless f =~ /^-/ }" \
|
||||
"test/test_preserved.rb" "test/test_paths.rb" \
|
||||
"test/test_xml.rb" "test/test_parser.rb" "test/test_alter.rb" \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2011/01/06 04:24:24 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2011/03/25 16:39:54 jeremy Exp $
|
||||
|
||||
COMMENT = module for using Textile in Ruby
|
||||
|
||||
@ -20,5 +20,6 @@ MODULES = lang/ruby
|
||||
CONFIGURE_STYLE = ruby gem ext
|
||||
|
||||
MODRUBY_REGRESS = rspec
|
||||
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user