[Buildroot] [PATCH 1/1] package/piglit: fix GL tests

Fabrice Fontaine fontaine.fabrice at gmail.com
Sat Mar 7 19:06:29 UTC 2020


Fixes:
 - http://autobuild.buildroot.org/results/3355e4dc02b07ccfd9fe9b5cafb70c01fc88c158

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 ...tests-fix-test-build-requiring-gles3.patch | 49 +++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 package/piglit/0001-tests-fix-test-build-requiring-gles3.patch

diff --git a/package/piglit/0001-tests-fix-test-build-requiring-gles3.patch b/package/piglit/0001-tests-fix-test-build-requiring-gles3.patch
new file mode 100644
index 0000000000..4183f23432
--- /dev/null
+++ b/package/piglit/0001-tests-fix-test-build-requiring-gles3.patch
@@ -0,0 +1,49 @@
+From 8417ca1725d523493d8f6782699273dc056888ac Mon Sep 17 00:00:00 2001
+From: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
+Date: Thu, 1 Aug 2019 20:51:55 +0300
+Subject: [PATCH] tests: fix test build requiring gles3
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This should be built only on gles3.
+
+Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
+Reported-by: Krzysztof Raszkowski <krzysztof.raszkowski at intel.com>
+Fixes: ef761094be ("tests: Reproducer for 110796")
+Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
+[Retrieved from:
+https://gitlab.freedesktop.org/mesa/piglit/commit/8417ca1725d523493d8f6782699273dc056888ac]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
+---
+ tests/shaders/CMakeLists.gl.txt    | 1 -
+ tests/shaders/CMakeLists.gles3.txt | 1 +
+ 2 files changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/shaders/CMakeLists.gl.txt b/tests/shaders/CMakeLists.gl.txt
+index f1512f9cf..a299001cb 100644
+--- a/tests/shaders/CMakeLists.gl.txt
++++ b/tests/shaders/CMakeLists.gl.txt
+@@ -43,7 +43,6 @@ IF (UNIX)
+ ENDIF (UNIX)
+ piglit_add_executable (glsl-arb-fragment-coord-conventions glsl-arb-fragment-coord-conventions.c)
+ piglit_add_executable (glsl-bindattriblocation glsl-bindattriblocation.c)
+-piglit_add_executable (glsl-bug-110796 glsl-bug-110796.c)
+ piglit_add_executable (glsl-bug-22603 glsl-bug-22603.c)
+ piglit_add_executable (glsl-dlist-getattriblocation glsl-dlist-getattriblocation.c)
+ piglit_add_executable (glsl-explicit-location-01 glsl-explicit-location-01.c)
+diff --git a/tests/shaders/CMakeLists.gles3.txt b/tests/shaders/CMakeLists.gles3.txt
+index 18b8c3534..c8ccfad42 100644
+--- a/tests/shaders/CMakeLists.gles3.txt
++++ b/tests/shaders/CMakeLists.gles3.txt
+@@ -3,6 +3,7 @@ link_libraries(
+ )
+ 
+ piglit_add_executable (built-in-constants_${piglit_target_api} built-in-constants.c parser_utils.c)
++piglit_add_executable (glsl-bug-110796 glsl-bug-110796.c)
+ piglit_add_executable(shader_runner_${piglit_target_api} shader_runner.c parser_utils.c)
+ 
+ # vim: ft=cmake:
+-- 
+2.24.1
+
-- 
2.25.0



More information about the buildroot mailing list