On Fri, 19 Apr 2019 at 09:54, <mingli...@windriver.com> wrote:
> From: Mingli Yu <mingli...@windriver.com>
>
> * Set G_TEST_BUILDDIR to mark we run the tests
>   out of builddir to make it can skip the test_non_utf8_printf
>   to fix below test error as test_non_utf8_printf needed
>   to run under builddir per 
> https://gitlab.gnome.org/GNOME/glib/blob/master/glib/tests/gdatetime.c#L1440.
>   | 
> GLib:ERROR:../glib-2.58.3/glib/tests/gdatetime.c:1477:test_non_utf8_printf: 
> assertion failed (__p == ("10\346\234\210")): ("Oct" == "10\346\234\210")
>   | Bail out! 
> GLib:ERROR:../glib-2.58.3/glib/tests/gdatetime.c:1477:test_non_utf8_printf: 
> assertion failed (__p == ("10\346\234\210")): ("Oct" == "10\346\234\210")
>   | FAIL: glib/gdatetime.test (Child process killed by signal 6)

As per the link:

/* If running uninstalled (G_TEST_BUILDDIR is set), skip this test, since we
   * need the translations to be installed. We can’t mess around with
   * bindtextdomain() here, as the compiled .gmo files in po/ are not in the
   * right installed directory hierarchy to be successfully loaded by
gettext. */

Setting G_TEST_BUILDDIR isn't right as we're not running uninstalled.
This is a gross hack, and not a fix.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to