[Bug 640962] Make check failure: test_backend_dbi

Can't suppress the perfectly legitimate warning, so make it non-fatal;
that way it won't trigger test_checked_handler after the tdata has
popped off the stack.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23004 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2013-05-25 22:43:17 +00:00
parent 8e9c9d8ced
commit 66dccc81af

View File

@ -44,7 +44,11 @@ main (int argc,
g_assert (qof_load_backend_library ("../../xml/.libs",
"gncmod-backend-xml"));
/* Make the missing lock file warning not fatal so that it won't
* crash during teardown.
*/
g_log_set_fatal_mask ("gnc.backend.dbi", G_LOG_FATAL_MASK | G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL);
g_log_set_always_fatal (G_LOG_FATAL_MASK);
test_suite_gnc_backend_dbi_basic();
test_suite_gnc_backend_dbi_business();