Skip to content

Commit

Permalink
Fix tests, with perl guidance from afresh1@, thanks!
Browse files Browse the repository at this point in the history
remove two tests crashing the postgresql server, and pass the psql port
otherwise an empty string is passed to prove which confuses it.. cf
pgRouting/pgrouting#1356
  • Loading branch information
landryb committed Aug 5, 2020
1 parent b281376 commit d4bd6a5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions geo/pgrouting/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.30 2020/08/04 10:58:56 landry Exp $
# $OpenBSD: Makefile,v 1.31 2020/08/05 11:28:28 landry Exp $

COMMENT = geospatial routing extension for PostgreSQL

Expand Down Expand Up @@ -31,6 +31,9 @@ SUBST_VARS = V
MODPOSTGRESQL_TEST_DBNAME = ___pgr___test___
MODPOSTGRESQL_TEST_CMD = \
cd ${WRKSRC}; \
sh ./tools/testers/pg_prove_tests.sh postgres
sh ./tools/testers/pg_prove_tests.sh postgres 5432
post-extract:
# tests crashes the server
rm -f ${WRKSRC}/pgtap/vrp_basic/no_crash_test-vrpOneDepot.sql ${WRKSRC}/pgtap/pickDeliver/pickDeliver/innerQuery.sql

.include <bsd.port.mk>

0 comments on commit d4bd6a5

Please sign in to comment.