On Sun, Dec 15, 2019 at 04:51:20PM -0800, Andrew Hewus Fresh wrote:
> Looking at this again, we can enable the database tests with a few extra
> lines in the Makefile.
>
> MAKE_ENV += DB_TESTING=1
> MODULES += databases/postgresql
> TEST_DEPENDS += databases/p5-DBD-Pg
>
> MODPOSTGRESQL_TEST_CMD = \
> ${LOCALBASE}/bin/psql -d postgres \
> -c 'CREATE ROLE postgres WITH LOGIN CREATEDB'; \
> ${MAKE_PROGRAM} ${ALL_TEST_FLAGS} -f ${MAKE_FILE} ${TEST_TARGET}
>
Thanks!
I've been strugging to get this to work myself for the past couple of
days. I just couldn't figure it out. I was going to ask for help about
this right now. There are quite a few others that need database tests
also. I'll work on those. I should have several more very soon.
Happy,
Chris Bennett