[oe-commits] [openembedded-core] 29/30: glib-2.0: fix ptest failures

git at git.openembedded.org git at git.openembedded.org
Wed May 8 11:23:37 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 41172d274c7f5037da23d33226bcff7f3ee8cf32
Author: Mingli Yu <Mingli.Yu at windriver.com>
AuthorDate: Wed May 8 11:05:39 2019 +0800

    glib-2.0: fix ptest failures
    
    * Install 7 translation packages to fix 7 ptest
      failures such as:
      | 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")
      | GLib:ERROR:../glib-2.58.3/glib/tests/gdatetime.c:1716:test_month_names: assertion failed (p_casefold == (o_casefold)): ("nov" == "stu")
      | GLib:ERROR:../glib-2.58.3/glib/tests/gdatetime.c:1731:test_month_names: assertion failed (p_casefold == (o_casefold)): ("jul" == "liep.")
    
    * Increase the timeout to 15 minutes as the default
      timeout which is 5 minutes is not enough to fix below error:
      | Executing: glib/actions.test
      | Test timed out after 300 seconds
      | cleaning up pid 13050
      | FAIL: glib/actions.test (Child process killed by signal 9)
    
    Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/glib-2.0/glib-2.0/run-ptest | 2 +-
 meta/recipes-core/glib-2.0/glib.inc           | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/glib-2.0/glib-2.0/run-ptest b/meta/recipes-core/glib-2.0/glib-2.0/run-ptest
index 8f082d3..893125d 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/run-ptest
+++ b/meta/recipes-core/glib-2.0/glib-2.0/run-ptest
@@ -2,5 +2,5 @@
 
 set -eux
 useradd glib2-test
-su glib2-test -c gnome-desktop-testing-runner glib
+su glib2-test -c "gnome-desktop-testing-runner glib -t 900"
 userdel glib2-test
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 69bcd0d..c0f66f9 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -148,6 +148,13 @@ RDEPENDS_${PN}-ptest += "\
             tzdata-europe \
             tzdata-posix \
             shared-mime-info \
+            ${PN}-locale-ja \
+            ${PN}-locale-fr \
+            ${PN}-locale-el \
+            ${PN}-locale-hr \
+            ${PN}-locale-lt \
+            ${PN}-locale-pl \
+            ${PN}-locale-ru \
            "
 
 RDEPENDS_${PN}-ptest_append_libc-glibc = "\

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list