diff mbox series

[meta-arago,scarthgap,7/8] kernel-selftest: Wrap the bbappend in a compliant manner

Message ID 20250519170110.22506-8-reatmon@ti.com
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series Cleanup for auto checking | expand

Commit Message

Ryan Eatmon May 19, 2025, 5:01 p.m. UTC
Wrap the bbappend in a yocto-check-layer compliant manner so that only
if you are building this recipe under meta-ti-bsp with ti-soc in the
MACHINE_OVERRIDES would the bbappend apply.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 ...lftest.bbappend => kernel-selftest-ti.inc} |  0
 .../kernel-selftest/kernel-selftest.bbappend  | 49 ++-----------------
 2 files changed, 3 insertions(+), 46 deletions(-)
 copy meta-arago-test/recipes-kernel/kernel-selftest/{kernel-selftest.bbappend => kernel-selftest-ti.inc} (100%)
diff mbox series

Patch

diff --git a/meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend b/meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
similarity index 100%
copy from meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend
copy to meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest-ti.inc
diff --git a/meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend b/meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend
index a793196d..163a074d 100644
--- a/meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend
+++ b/meta-arago-test/recipes-kernel/kernel-selftest/kernel-selftest.bbappend
@@ -1,47 +1,4 @@ 
-# Tests not enabled:
-#   openat2 has buildpath errors
+KERNEL_SELFTEST_TI = ""
+KERNEL_SELFTEST_TI:ti-soc = "kernel-selftest-ti.inc"
 
-TEST_LIST += "\
-    arm64 \
-    breakpoints \
-    capabilities \
-    cgroup \
-    clone3 \
-    core \
-    cpu-hotplug \
-    cpufreq \
-    efivarfs \
-    exec \
-    filesystems \
-    filesystems/binderfs \
-    filesystems/epoll \
-    firmware \
-    fpu \
-    ftrace \
-    futex \
-    gpio \
-    intel_pstate \
-    ipc \
-    kcmp \
-    kvm \
-    livepatch \
-    membarrier \
-    memfd \
-    mqueue \
-    mincore \
-    net \
-    net/mptcp \
-    ptrace \
-    resq \
-    rtc \
-    seccomp \
-    sigaltstack \
-    size \
-    tc-testing \
-    timers \
-    tmpfs \
-    tpm2 \
-    user_events \
-    vDSO \
-    watchdog \
-"
+require ${KERNEL_SELFTEST_TI}