Bruce Dubbs wrote:
> I've been looking at the glib-2.36.3 regression tests today. The build
> and install goes find, but I'm consistently getting errors in the
> regression tests.
>
> At first, the tests were giving me an error about not being able to
> write to a directory. Eventually I tracked that down to the fact that
> I had the environment variables XDG_DATA_DIRS and XDG_CONFIG_DIRS set to
> directories where the user did not have write access.
>
> Now I'm down to one failure. The Makefile in gio/tests combines a long
> series of tests with:
>
> G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} %
> 256)) ../../glib/gtester --verbose io-stream memory-input-stream
> memory-output-stream readwrite g-file g-file-info converter-stream
> data-input-stream data-output-stream g-icon buffered-input-stream
> buffered-output-stream sleepy-stream ...
> desktop-app-info
> ...
>
> The desktop-app-info test fails and the rest of the tests are not run,
> but they do pass if desktop-app-info is removed.
>
> The test can be abbreviated (after make check builds the programs) to:
>
> cd gio/tests
> ../../glib/gtester --verbose desktop-app-info
>
> The failure is:
>
> TEST: desktop-app-info... (pid=10704)
> /desktop-app-info/delete: OK
> /desktop-app-info/default: **
> GLib-GIO:ERROR:desktop-app-info.c:114:test_default: assertion failed:
> (g_list_length (list) == 2)
> FAIL
>
> Perhaps I should just ignore this, but it may be some kind of
> configuration or dependency issue. Has anyone else seen this issue?
I forgot to add that there is a failure when using --with-pcre=system.
The test passes when that option is removed.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page