[new] databases/pgtap (and databases/p5-TAP-Parser-SourceHandler-pgTAP dep)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[new] databases/pgtap (and databases/p5-TAP-Parser-SourceHandler-pgTAP dep)

Landry Breuil-5
Hi,

here are two new ports, one for pgtap (https://pgtap.org/) and one for
TAP::Parser::SourceHandler::pgTAP which provides the pg_prove script,
used to run the regress tests for the upcoming 3.0.0 version of
geo/pgrouting.

pgtap is a postgresql extension to run regress tests using the TAP framework.

thanks to the nice testing bits from postgresql.port.mk, i can easily
run the pgtap tests themselves, and only some of them fail due to
user/ownership issues that i think cant be worked around on OpenBSD,
since we run build bits with fixed users (be it with PORTS_PRIVSEP or
not):

# Failed test 1: "db_owner_is(db, user, desc) should pass"
#         have: false
#         want: true
# Failed test 3: "db_owner_is(db, user, desc) should have the proper diagnostics"
#         have:          have: landry
#         want: postgres
#         want:
# Failed test 4: "db_owner_is(db, user) should pass"
#         have: false
#         want: true
# Failed test 6: "db_owner_is(db, user) should have the proper diagnostics"
#         have:          have: landry
#         want: postgres
#         want:
# Failed test 12: "db_owner_is(db, non-user) should have the proper diagnostics"
#         have:         have: landry
#         want: __not__postgres
#         want:         have: postgres
#         want: __not__postgres
# Looks like you failed 5 tests of 411
Failed 5/411 subtests

looking for feedback from the pgsql wizards (or perl wizards even!) and oks to
import.

Landry

pgtap-1.1.0.tgz (1K) Download Attachment
p5-TAP-Parser-SourceHandler-pgTAP-3.35.tgz (1K) Download Attachment