> 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 > > cmake "-E" "env" "GNC_BUILDDIR=$GNUCASH_BUILD" "GNC_UNINSTALLED=yes" \ > "GNC_BUILDDIR=$GNUCASH_BUILD" "GUILE_WARN_DEPRECATED=no" \ > "LD_LIBRARY_PATH=$GNUCASH_BUILD/lib:$GNUCASH_BUILD/lib/gnucash" \ > "GNC_MODULE_PATH=$GNUCASH_BUILD/lib:$GNUCASH_BUILD/lib/gnucash" \ > "GUILE=/usr/bin/guile" "GUILE_LOAD_COMPILED_PATH=$ > GNUCASH_BUILD/lib/gnucash/scm/ccache/2.0" \ > "GUILE_LOAD_PATH=$GNUCASH_SRC/libgnucash/app-utils/test/mod- > foo:$GNUCASH_SRC/libgnucash/app-utils/test/mod-bar:$ > GNUCASH_SRC/libgnucash/app-utils/test/mod-baz" \ > "$GNUCASH_BUILD/bin/test-app-utils" > > 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: > > Output: > ---------------------------------------------------------- > /app-utils/option-util/Option DB Load: ** > ERROR:/home/robg/gnucash/libgnucash/app-utils/test/test-option-util.cpp:98:void > 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 gnc-budget_set_account_period_ > value() > > What do you see in your Testing/Temporary/LastTest.log? > > Regards, > > Rob >
Excellent suggestion; thanks! I'm not in a position to run it now and give feedback, but I should tomorrow. _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel