- set NO_REGRESS where applicable and add a comment as to why it's set

- run the tests of node-pg during 'regress' not 'build'

with and ok sthen@
This commit is contained in:
jasper 2012-05-10 08:41:39 +00:00
parent 19d6774428
commit b7292ed89a
5 changed files with 31 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2012/05/09 06:39:04 jasper Exp $
# $OpenBSD: Makefile,v 1.5 2012/05/10 08:41:39 jasper Exp $
COMMENT = postgresql client for nodejs
@ -29,4 +29,8 @@ LIB_DEPENDS = databases/postgresql
RUN_DEPENDS = devel/node-generic-pool
MODNODE_DEPENDS = generic-pool
# Must have a database setup running on localhost with
# user=postgres and password=1234
REGRESS_TARGET = test-all
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2012/05/09 06:39:04 jasper Exp $
# $OpenBSD: Makefile,v 1.5 2012/05/10 08:41:39 jasper Exp $
# Currently node itself is only for amd64 and i386, but
# the coroutine library this uses only works on amd64
@ -30,6 +30,8 @@ CONFIGURE_STYLE = npm ext
USE_GMAKE = Yes
SUBST_VARS = CFLAGS
REGRESS_TARGET = test
pre-configure:
${SUBST_CMD} ${WRKDIST}/src/platform.mk

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Makefile,v 1.1 2012/05/10 08:41:39 jasper Exp $
Don't run tests as part of the normal build.
--- Makefile.orig Thu May 10 09:54:35 2012
+++ Makefile Thu May 10 09:54:48 2012
@@ -1,7 +1,7 @@
include src/platform.mk
FIBERS_SO := $(shell echo `pwd`/src/fibers.node)
-all: fibers test
+all: fibers
fibers: $(FIBERS_SO)

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2012/05/09 06:39:04 jasper Exp $
# $OpenBSD: Makefile,v 1.5 2012/05/10 08:41:39 jasper Exp $
COMMENT = generic resource pool for nodejs
@ -22,4 +22,7 @@ MODULES = www/node
CONFIGURE_STYLE = npm
# needs expresso
NO_REGRESS = Yes
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2012/05/09 06:39:04 jasper Exp $
# $OpenBSD: Makefile,v 1.5 2012/05/10 08:41:39 jasper Exp $
COMMENT = bcrypt hashing library for nodejs
@ -22,4 +22,7 @@ MODULES = www/node
CONFIGURE_STYLE = npm ext
# needs nodeunit
NO_REGRESS = Yes
.include <bsd.port.mk>