Difficulty with apps-utils

Rob Gowin robg at gowin.net
Tue Nov 7 21:52:52 EST 2017

Hi Aaron,

Since test-app-utils uses guile, you can't execute that test from the
build/bin directory without setting up the Guile environment. Look into
the Testing/Temporary/LastTest.log file to retreive the command
you need. For me, this command is

"GUILE_LOAD_COMPILED_PATH=$GNUCASH_BUILD/lib/gnucash/scm/ccache/2.0" \


where I have substituted $GNUCASH_BUILD and $GNUCASH_SRC for my
directory details.  But you can just cut-n-paste whatever command
is in LastTest.log to run the test.

When I clone and build your branch on Fedora 26 (gcc 7.1.1), I
get this message in my LastTest.log and when running the above
cmake command by hand:

/app-utils/option-util/Option DB Load: **
test_option_load(Fixture*, gconstpointer): assertion failed
(gnc_option_db_lookup_string_option (odb, "Business", "Company Name",
FALSE) == "Bogus Company"): ("" == "Bogus Company")
Child aborted

I also get a segfault in test-engine after

What do you see in your Testing/Temporary/LastTest.log?



On Tue, Nov 7, 2017 at 7:49 AM, Aaron Laws <dartme18 at gmail.com> wrote:

> I have made several changes on my branch to avoid kvp parsing keys. The
> last change I made removes the functions that take char*, but the unit test
> suite does not pass. All tests pass except app-utils which fails with the
> strange error:
> (./test-app-utils:6860): gnc.module-WARNING **: Could not locate module
> gnucash/app-utils interface v.0
> You can see my code at
> https://github.com/limitedatonement/gnucash/tree/fix_bayes
> Can anyone reproduce the problem? Any suggestions?
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

More information about the gnucash-devel mailing list