diff mbox series

[yocto-autobuilder-helper] config.json: Add meta-exein compatibility testing

Message ID 20240208100255.2805341-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series [yocto-autobuilder-helper] config.json: Add meta-exein compatibility testing | expand

Commit Message

Richard Purdie Feb. 8, 2024, 10:02 a.m. UTC
Add meta-exein yocto-check-layer testing. Due to HOSTTOOLS issues, we
need to had a horrible hack. v2 compatibility doesn't test for HOSTTOOLS
changes although perhaps the next version might.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 config.json                              | 15 ++++++++++++++-
 scripts/exein-path-intercepts/clang      |  2 ++
 scripts/exein-path-intercepts/llvm-strip |  2 ++
 3 files changed, 18 insertions(+), 1 deletion(-)
 create mode 100755 scripts/exein-path-intercepts/clang
 create mode 100755 scripts/exein-path-intercepts/llvm-strip
diff mbox series

Patch

diff --git a/config.json b/config.json
index 50a07f7..e8b51cd 100644
--- a/config.json
+++ b/config.json
@@ -1199,7 +1199,7 @@ 
             }
         },
         "check-layer-nightly" : {
-            "NEEDREPOS" : ["poky", "meta-agl", "meta-arm", "meta-aws", "meta-intel", "meta-ti", "meta-openembedded", "meta-virtualization", "meta-clang"],
+            "NEEDREPOS" : ["poky", "meta-agl", "meta-arm", "meta-aws", "meta-intel", "meta-ti", "meta-openembedded", "meta-virtualization", "meta-clang", "meta-exein"],
             "step1" : {
                 "shortname" : "Test meta-agl YP Compatibility",
                 "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-agl/meta-agl-core ../meta-agl/meta-netboot --dependency ../meta-openembedded/meta-oe ../meta-openembedded/meta-networking ../meta-openembedded/meta-python --no-auto-dependency"]
@@ -1232,6 +1232,13 @@ 
             "step8" : {
                 "shortname" : "Test meta-clang YP Compatibility",
                 "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-clang --no-auto-dependency"]
+            },
+            "step9" : {
+                "shortname" : "Test meta-exein YP Compatibility",
+                "extravars" : [
+                    "HOSTTOOLS:remove = 'clang llvm-strip'"
+                ],
+                "EXTRACMDS" : ["export PATH=$PATH:${SCRIPTSDIR}/exein-path-intercepts; yocto-check-layer-wrapper ../meta-exein --dependency ../meta-openembedded/meta-oe --no-auto-dependency"]
             }
         },
         "metrics" : {
@@ -1824,6 +1831,12 @@ 
             "revision" : "HEAD",
             "no-layer-add" : true
         },
+        "meta-exein" : {
+            "url" : "https://github.com/exein-io/meta-exein-official",
+            "branch" : "main",
+            "revision" : "HEAD",
+            "no-layer-add" : true
+        },
         "auto-upgrade-helper" : {
             "url" : "git://git.yoctoproject.org/auto-upgrade-helper",
             "branch" : "master",
diff --git a/scripts/exein-path-intercepts/clang b/scripts/exein-path-intercepts/clang
new file mode 100755
index 0000000..ecdbef9
--- /dev/null
+++ b/scripts/exein-path-intercepts/clang
@@ -0,0 +1,2 @@ 
+#!/bin/sh
+exit 1
diff --git a/scripts/exein-path-intercepts/llvm-strip b/scripts/exein-path-intercepts/llvm-strip
new file mode 100755
index 0000000..ecdbef9
--- /dev/null
+++ b/scripts/exein-path-intercepts/llvm-strip
@@ -0,0 +1,2 @@ 
+#!/bin/sh
+exit 1