diff options
Diffstat (limited to 'meta/recipes-graphics/piglit')
-rw-r--r-- | meta/recipes-graphics/piglit/piglit/0001-render-ops.c-add-missing-format-string.patch | 24 | ||||
-rw-r--r-- | meta/recipes-graphics/piglit/piglit_git.bb | 3 |
2 files changed, 26 insertions, 1 deletions
diff --git a/meta/recipes-graphics/piglit/piglit/0001-render-ops.c-add-missing-format-string.patch b/meta/recipes-graphics/piglit/piglit/0001-render-ops.c-add-missing-format-string.patch new file mode 100644 index 0000000000..261d98d8f6 --- /dev/null +++ b/meta/recipes-graphics/piglit/piglit/0001-render-ops.c-add-missing-format-string.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From e21e68f6aa0f5249fce613e8fd4ac0edbd5cb7b0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Tue, 22 Dec 2020 13:35:11 +0100 | ||
4 | Subject: [PATCH] render-ops.c: add missing format string | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | tests/spec/ati_fragment_shader/render-ops.c | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/tests/spec/ati_fragment_shader/render-ops.c b/tests/spec/ati_fragment_shader/render-ops.c | ||
13 | index 131334ba2..19a353d67 100644 | ||
14 | --- a/tests/spec/ati_fragment_shader/render-ops.c | ||
15 | +++ b/tests/spec/ati_fragment_shader/render-ops.c | ||
16 | @@ -393,7 +393,7 @@ piglit_display(void) | ||
17 | bool ok = piglit_probe_rect_halves_equal_rgba(get_test_x(i), get_test_y(i), | ||
18 | w * 2, h); | ||
19 | enum piglit_result sub_result = ok ? PIGLIT_PASS : PIGLIT_FAIL; | ||
20 | - piglit_report_subtest_result(sub_result, test->name); | ||
21 | + piglit_report_subtest_result(sub_result, "%s", test->name); | ||
22 | piglit_merge_result(&result, sub_result); | ||
23 | } | ||
24 | |||
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index 31954aa8b6..442c1a3c62 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb | |||
@@ -13,10 +13,11 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https \ | |||
13 | file://0001-serializer.py-make-.gz-files-reproducible.patch \ | 13 | file://0001-serializer.py-make-.gz-files-reproducible.patch \ |
14 | file://0001-framework-profile.py-make-test-lists-reproducible.patch \ | 14 | file://0001-framework-profile.py-make-test-lists-reproducible.patch \ |
15 | file://0001-tests-shader.py-sort-the-file-list-before-working-on.patch \ | 15 | file://0001-tests-shader.py-sort-the-file-list-before-working-on.patch \ |
16 | file://0001-render-ops.c-add-missing-format-string.patch \ | ||
16 | " | 17 | " |
17 | UPSTREAM_CHECK_COMMITS = "1" | 18 | UPSTREAM_CHECK_COMMITS = "1" |
18 | 19 | ||
19 | SRCREV = "0fda9f67a782edec640998286e7b6058e8933d17" | 20 | SRCREV = "603deba4ab66e2a8948693a14d715e536caddcc5" |
20 | # (when PV goes above 1.0 remove the trailing r) | 21 | # (when PV goes above 1.0 remove the trailing r) |
21 | PV = "1.0+gitr${SRCPV}" | 22 | PV = "1.0+gitr${SRCPV}" |
22 | 23 | ||