r18496 - gnucash/trunk/src/backend/dbi/test - Make the dbi backend tests work correctly if dbd is installed in a nonstandard location.
Mike Alexander
mta at code.gnucash.org
Mon Dec 14 00:48:45 EST 2009
Author: mta
Date: 2009-12-14 00:48:45 -0500 (Mon, 14 Dec 2009)
New Revision: 18496
Trac: http://svn.gnucash.org/trac/changeset/18496
Modified:
gnucash/trunk/src/backend/dbi/test/Makefile.am
Log:
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.
Modified: gnucash/trunk/src/backend/dbi/test/Makefile.am
===================================================================
--- gnucash/trunk/src/backend/dbi/test/Makefile.am 2009-12-13 21:16:25 UTC (rev 18495)
+++ gnucash/trunk/src/backend/dbi/test/Makefile.am 2009-12-14 05:48:45 UTC (rev 18496)
@@ -24,6 +24,7 @@
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 = \
More information about the gnucash-changes
mailing list