r21655 - gnucash/trunk/src/engine - [Testing] Provide for engine to load backends from build path
John Ralls
jralls at code.gnucash.org
Fri Dec 2 16:59:56 EST 2011
Author: jralls
Date: 2011-12-02 16:59:56 -0500 (Fri, 02 Dec 2011)
New Revision: 21655
Trac: http://svn.gnucash.org/trac/changeset/21655
Modified:
gnucash/trunk/src/engine/gnc-engine.c
Log:
[Testing] Provide for engine to load backends from build path
If two new environment variables (GNC_UNINSTALLED and GNC_BUILDDIR)are set, load the backends from GNC_BUILDDIR/src/backend.
GNC_UNINSTALLED is intended to be set via g_setenv() or (setenv) at the beginning of a test program. GNC_BUILDDIR is intended to be set with
GNC_BUILDDIR=`cd ${top_builddir} && pwd`
as part of the TESTS_ENVIRONMENT variable in test Makefiles.
More information about the gnucash-patches
mailing list