Make make test run correctly for the jruby FLAVOR, and run an additional
test suite.
This commit is contained in:
parent
5d32bd77ba
commit
1557f2cf76
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.28 2013/10/26 23:55:35 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.29 2013/12/16 20:59:36 jeremy Exp $
|
||||
|
||||
COMMENT = lightweight database library and ORM for Ruby
|
||||
|
||||
@ -17,8 +17,13 @@ MODULES = lang/ruby
|
||||
|
||||
CONFIGURE_STYLE = ruby gem
|
||||
|
||||
.if defined(FLAVOR) && ${FLAVOR} == jruby
|
||||
TEST_DEPENDS = databases/ruby-jdbc-sqlite3,${MODRUBY_FLAVOR}
|
||||
MODRUBY_TEST_ENV = SEQUEL_SQLITE_URL=jdbc:sqlite::memory:
|
||||
.else
|
||||
TEST_DEPENDS = databases/ruby-sqlite3,${MODRUBY_FLAVOR}
|
||||
.endif
|
||||
MODRUBY_TEST = rake rspec
|
||||
MODRUBY_TEST_TARGET = spec spec_plugin spec_sqlite
|
||||
MODRUBY_TEST_TARGET = spec spec_plugin spec_sqlite spec_bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user