diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-04-13 22:59:34 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-19 14:14:11 +0100 |
commit | b550a21a6659adec8dc226baaaa0372e319b7eda (patch) | |
tree | 7b8e4d646fd8c1fc7b4c903d49abc08a274eeae1 | |
parent | 29d26db6679282b96b0c29c260b923ecab605973 (diff) | |
download | poky-b550a21a6659adec8dc226baaaa0372e319b7eda.tar.gz |
pango: Skip test-layout ptest
This has intermittent behavior, is sensitive to harfbuzz version
(From OE-Core rev: 9c427fd674320253bb99f8885f1667398f59aba4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch | 45 | ||||
-rw-r--r-- | meta/recipes-graphics/pango/pango_1.50.6.bb | 4 |
2 files changed, 48 insertions, 1 deletions
diff --git a/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch b/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch new file mode 100644 index 0000000000..ec7fb4727e --- /dev/null +++ b/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From b9bfe3a79f165682a6db3d7ee1928365e93b1ccf Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 13 Apr 2022 19:39:29 -0700 | ||
4 | Subject: [PATCH] Skip running test-layout test | ||
5 | |||
6 | This fails intermittently, it varies based on what version of harfbuzz | ||
7 | is installed and if it does not match with what pango CI tests then we | ||
8 | get random failures in this test. This has been disabled in other | ||
9 | distros [1] too | ||
10 | |||
11 | We want to drop this on next upgrade and see if this test passes if not | ||
12 | then keep it disabled | ||
13 | |||
14 | Fixes | ||
15 | |||
16 | Running test: pango/test-layout.test | ||
17 | 1..36 | ||
18 | ok 1 /layout/letterspacing.layout | ||
19 | ok 2 /layout/valid-7.layout | ||
20 | not ok 3 /layout/valid-14.layout | ||
21 | Bail out! | ||
22 | FAIL: pango/test-layout.test (Child process killed by signal 6) | ||
23 | |||
24 | [1] https://github.com/archlinux/svntogit-packages/commit/3f883e7ff8071adad23b6bcc0ba4b995aff10d52 | ||
25 | |||
26 | Upstream-Status: Inappropriate [bugfix https://gitlab.gnome.org/GNOME/pango/-/issues/677] | ||
27 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
28 | --- | ||
29 | tests/test-layout.c | 2 +- | ||
30 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
31 | |||
32 | diff --git a/tests/test-layout.c b/tests/test-layout.c | ||
33 | index 1139e4f..b47a066 100644 | ||
34 | --- a/tests/test-layout.c | ||
35 | +++ b/tests/test-layout.c | ||
36 | @@ -222,5 +222,5 @@ main (int argc, char *argv[]) | ||
37 | } | ||
38 | g_dir_close (dir); | ||
39 | |||
40 | - return g_test_run (); | ||
41 | + return 77; | ||
42 | } | ||
43 | -- | ||
44 | 2.35.2 | ||
45 | |||
diff --git a/meta/recipes-graphics/pango/pango_1.50.6.bb b/meta/recipes-graphics/pango/pango_1.50.6.bb index cd04801db1..93e1653464 100644 --- a/meta/recipes-graphics/pango/pango_1.50.6.bb +++ b/meta/recipes-graphics/pango/pango_1.50.6.bb | |||
@@ -18,7 +18,9 @@ inherit gnomebase gi-docgen ptest-gnome upstream-version-is-even gobject-introsp | |||
18 | GIR_MESON_ENABLE_FLAG = "enabled" | 18 | GIR_MESON_ENABLE_FLAG = "enabled" |
19 | GIR_MESON_DISABLE_FLAG = "disabled" | 19 | GIR_MESON_DISABLE_FLAG = "disabled" |
20 | 20 | ||
21 | SRC_URI += "file://run-ptest" | 21 | SRC_URI += "file://run-ptest \ |
22 | file://0001-Skip-running-test-layout-test.patch \ | ||
23 | " | ||
22 | 24 | ||
23 | SRC_URI[archive.sha256sum] = "a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a" | 25 | SRC_URI[archive.sha256sum] = "a998bcf36881c3ac20495d40bceb304f4eaa9175bd2967c85656434cbdafe86a" |
24 | 26 | ||