From 245969695c3f48696d544917883f2238f55e31c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= Date: Tue, 8 Sep 2020 20:17:40 -0500 Subject: recipes-graphics: Add package in mesa-dev to install CI files for deqp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mesa has .gitlab-ci folder that contains scripts and fail/skips useful in order to run tests. Signed-off-by: Aníbal Limón --- recipes-graphics/mesa/mesa_git.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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}/ +} -- cgit v1.2.2-1-g5e49