aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2020-09-08 20:17:40 -0500
committerAníbal Limón <anibal.limon@linaro.org>2020-09-09 18:05:00 -0500
commit245969695c3f48696d544917883f2238f55e31c5 (patch)
treef43afee254ad8a3cb90699c593d4efe18282bd9c
parentf5da12a988442c4d92c866c40555f913a0f5a705 (diff)
downloadmeta-qcom-245969695c3f48696d544917883f2238f55e31c5.tar.gz
meta-qcom-245969695c3f48696d544917883f2238f55e31c5.tar.bz2
meta-qcom-245969695c3f48696d544917883f2238f55e31c5.zip
recipes-graphics: Add package in mesa-dev to install CI files for deqp
Mesa has .gitlab-ci folder that contains scripts and fail/skips useful in order to run tests. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
-rw-r--r--recipes-graphics/mesa/mesa_git.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-graphics/mesa/mesa_git.bb b/recipes-graphics/mesa/mesa_git.bb
index 5bd1e09..238f364 100644
--- a/recipes-graphics/mesa/mesa_git.bb
+++ b/recipes-graphics/mesa/mesa_git.bb
@@ -20,3 +20,18 @@ PV = "20.3-dev+git${SRCPV}"
# Do not select this version by default
DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_sm8250 = "1"
+
+# Add package to install require files to run tests for mesa
+PACKAGES =+ "mesa-ci"
+FILES_${PN}-ci = "${bindir}/deqp-runner.sh ${datadir}/mesa/deqp-*"
+do_install_append () {
+ install -d ${D}/${datadir}/mesa
+
+ install -m 0644 ${S}/.gitlab-ci/deqp-default-skips.txt ${D}/${datadir}/mesa/
+ for f in ${S}/.gitlab-ci/deqp-freedreno-*; do
+ install -m 0644 $f ${D}/${datadir}/mesa/
+ done
+
+ install -d ${D}/${bindir}
+ install -m 0755 ${S}/.gitlab-ci/deqp-runner.sh ${D}/${bindir}/
+}