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
This commit is contained in:
Mike Alexander
2009-12-14 05:48:45 +00:00
parent 3f658ca02e
commit e7cd4d4595

View File

@@ -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 = \