aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <ndechesne@users.noreply.github.com>2020-09-10 07:51:44 +0200
committerGitHub <noreply@github.com>2020-09-10 07:51:44 +0200
commit430a136de2be3a8e90d51cb4658fd021d5625d84 (patch)
tree668eeac73a1ada42ccd55cfdb8b331cb238c0c3c
parent0beb5a8bb8519cca1e26b3d0a18760f329a02010 (diff)
parent245969695c3f48696d544917883f2238f55e31c5 (diff)
downloadmeta-qcom-430a136de2be3a8e90d51cb4658fd021d5625d84.tar.gz
meta-qcom-430a136de2be3a8e90d51cb4658fd021d5625d84.tar.bz2
meta-qcom-430a136de2be3a8e90d51cb4658fd021d5625d84.zip
Merge pull request #185 from alimon/mesa_ci
recipes-graphics: Add package in mesa-dev to install CI files
-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}/
+}