Clean up regression code in some ruby database ports, adding
NO_REGRESS and REGRESS_IS_INTERACTIVE when appropriate, and comments for some broken regression tests. Prompted and OK ajacoutot@
This commit is contained in:
parent
5601827e41
commit
1c5550fb81
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.30 2010/12/08 21:47:30 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.31 2010/12/21 17:10:58 jeremy Exp $
|
||||
|
||||
COMMENT = object relation model implementation for ruby
|
||||
|
||||
@ -22,9 +22,7 @@ RUN_DEPENDS = devel/ruby-activesupport,${MODRUBY_FLAVOR}=${VERSION} \
|
||||
|
||||
CONFIGURE_STYLE = ruby gem
|
||||
|
||||
MODRUBY_REGRESS = rake
|
||||
REGRESS_DEPENDS = databases/ruby-mysql,${MODRUBY_FLAVOR} \
|
||||
databases/ruby-sqlite3,${MODRUBY_FLAVOR} \
|
||||
databases/ruby-pg,${MODRUBY_FLAVOR}
|
||||
# Upstream doesn't ship the Rakefile or test files in the gem
|
||||
NO_REGRESS = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/20 17:34:10 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2010/12/21 17:10:58 jeremy Exp $
|
||||
|
||||
COMMENT = ruby SQLite3 embedded database library
|
||||
|
||||
@ -26,6 +26,7 @@ RUN_DEPENDS = devel/ruby-arrayfields,${MODRUBY_FLAVOR} \
|
||||
AMALGALITE_SO_DIR = amalgalite/${MODRUBY_REV}
|
||||
SUBST_VARS += AMALGALITE_SO_DIR
|
||||
|
||||
# Doesn't work, needs configuration dependency
|
||||
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
|
||||
MODRUBY_REGRESS = rspec
|
||||
RSPEC_REGRESS_TARGET = spec/*_spec.rb
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/08 21:21:45 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2010/12/21 17:10:58 jeremy Exp $
|
||||
|
||||
COMMENT = relational algebra for ruby
|
||||
|
||||
@ -17,4 +17,7 @@ MODULES = lang/ruby
|
||||
|
||||
CONFIGURE_STYLE = ruby gem
|
||||
|
||||
# Currently fails with a superclass mismatch exception
|
||||
MODRUBY_REGRESS = rake
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/20 17:36:22 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2010/12/21 17:10:58 jeremy Exp $
|
||||
|
||||
COMMENT= ruby-data_objects driver for MySQL
|
||||
|
||||
@ -22,6 +22,7 @@ WANTLIB= mysqlclient
|
||||
LIB_DEPENDS= databases/mysql
|
||||
|
||||
# Requires running MySQL database
|
||||
REGRESS_IS_INTERACTIVE = Yes
|
||||
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
|
||||
devel/ruby-bacon,${MODRUBY_FLAVOR}
|
||||
do-regress:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/20 17:37:39 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2010/12/21 17:10:58 jeremy Exp $
|
||||
|
||||
COMMENT= DataObjects driver for PostgreSQL
|
||||
|
||||
@ -22,6 +22,7 @@ WANTLIB= pq
|
||||
LIB_DEPENDS= databases/postgresql,-server
|
||||
|
||||
# Requires running PostgreSQL database
|
||||
REGRESS_IS_INTERACTIVE = Yes
|
||||
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
|
||||
devel/ruby-bacon,${MODRUBY_FLAVOR}
|
||||
do-regress:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2010/11/24 21:35:13 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2010/12/21 17:10:58 jeremy Exp $
|
||||
|
||||
COMMENT= Ruby interface to some common LDAP libraries
|
||||
|
||||
@ -29,6 +29,7 @@ CONFIGURE_STYLE= ruby extconf
|
||||
|
||||
REGRESS_TARGET= test
|
||||
REGRESS_DEPENDS= databases/openldap,-server
|
||||
REGRESS_IS_INTERACTIVE = Yes
|
||||
|
||||
do-regress:
|
||||
cd ${WRKSRC} && /bin/sh ./test/test.sh ruby openldap2 \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2010/11/24 21:35:13 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2010/12/21 17:10:59 jeremy Exp $
|
||||
|
||||
COMMENT= access a MySQL database from Ruby
|
||||
|
||||
@ -25,6 +25,8 @@ CONFIGURE_STYLE=ruby gem ext
|
||||
REGRESS_DEPENDS=databases/mysql,-server
|
||||
|
||||
# A running mysqld is required to run the regression tests.
|
||||
REGRESS_IS_INTERACTIVE = Yes
|
||||
|
||||
do-regress:
|
||||
@cd ${WRKBUILD} && ${RUBY} test.rb
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/20 18:00:52 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2010/12/21 17:10:59 jeremy Exp $
|
||||
|
||||
COMMENT= modern, simple and very fast Mysql library for Ruby
|
||||
|
||||
@ -25,6 +25,7 @@ CONFIGURE_STYLE=ruby gem ext
|
||||
|
||||
# Regress tests currently don't work, probably because they
|
||||
# need RSpec2. They also need a running MySQL server.
|
||||
REGRESS_IS_INTERACTIVE = Yes
|
||||
REGRESS_DEPENDS=databases/mysql,-server \
|
||||
${FULLPKGNAME}:${BUILD_PKGPATH}
|
||||
MODRUBY_REGRESS=rake rspec
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/20 17:45:27 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2010/12/21 17:10:59 jeremy Exp $
|
||||
|
||||
COMMENT= enhanced ruby mysql driver, supporting async and threading
|
||||
|
||||
@ -24,6 +24,7 @@ LIB_DEPENDS= databases/mysql
|
||||
CONFIGURE_STYLE=ruby gem ext
|
||||
|
||||
# Requires running mysql server
|
||||
REGRESS_IS_INTERACTIVE = Yes
|
||||
REGRESS_DEPENDS=databases/mysql,-server \
|
||||
${FULLPKGNAME}:${BUILD_PKGPATH}
|
||||
MODRUBY_REGRESS=rake
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2010/11/24 21:35:13 jeremy Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2010/12/21 17:10:59 jeremy Exp $
|
||||
|
||||
COMMENT = provide ActiveRecord looking validations
|
||||
|
||||
@ -18,6 +18,7 @@ MODULES = lang/ruby
|
||||
|
||||
CONFIGURE_STYLE = ruby gem
|
||||
|
||||
# Fails due to using deprecated Gem.manage_gems method
|
||||
REGRESS_DEPENDS = devel/ruby-mocha,${MODRUBY_FLAVOR}
|
||||
MODRUBY_REGRESS = rake
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user