On Fri, Nov 22, 2019 at 02:43:39PM -0800, cpb_ports wrote:
> On Wed, Nov 20, 2019 at 08:50:29PM -0800, Andrew Hewus Fresh wrote:
> > On Wed, Jan 21, 1970 at 02:29:31PM -0800, Chris Bennett wrote:
> > > This is a new module for LedgerSMB, which is WIP.
> > > Several modules require this as base module.
> > > 
> > > Any comments or questions?
> > 
> > 
> > This could use "MAKE_ENV=TEST_POD=yes RELEASE_TESTING=''"
> > so that tests work the same no matter the environment.
> > 
> > Other than that, OK afresh1@ if someone wants to import.
> > 
> 
> New diff attached
> 
> Chris Bennett

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}

Reply via email to