make check fails in test-load-xml2
Derek Atkins
warlord at MIT.EDU
Wed Feb 15 23:34:00 EST 2006
Quoting Josh Sled <jsled at asynchronous.org>:
> On Wed, 2006-02-15 at 11:24 -0500, Derek Atkins wrote:
>> I was trying to test a buildsystem change and noticed that "make check"
>> is failing now. I suspect this is due to adding gconf into the
>> xml backend. Here's the backtrace from test-load-xml2.
>
> It was due to the g-types system not being initialized before calling
> gconf code, as is documented in the gconf API. :/ I fixed this
> instance by calling g_type_init() at the top of the test's main.
Is it legal to call g_type_init() multiple times? If so, then perhaps
we should add it to the gncmod initialization routine? I'm not sure that
every test should need to remember to initialize this.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list