From e7cd4d45957f376d0014cf2fd35b1a8cfa5f1d77 Mon Sep 17 00:00:00 2001 From: Mike Alexander Date: Mon, 14 Dec 2009 05:48:45 +0000 Subject: [PATCH] Make the dbi backend tests work correctly if dbd is installed in a nonstandard location. Supply a GNC_DBD_DIR environment variable to the tests so it knows where to find the database modules. This is needed if libdbi is installed via MacPorts on OS X. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18496 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/backend/dbi/test/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/dbi/test/Makefile.am b/src/backend/dbi/test/Makefile.am index 1703424ca3..cb77cbd159 100644 --- a/src/backend/dbi/test/Makefile.am +++ b/src/backend/dbi/test/Makefile.am @@ -24,6 +24,7 @@ GNC_TEST_DEPS = \ TESTS_ENVIRONMENT = \ GNC_ACCOUNT_PATH=${top_srcdir}/accounts/C \ SRCDIR=${srcdir} \ + GNC_DBD_DIR=@GNC_DBD_DIR@ \ $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS}) check_PROGRAMS = \