[v3,2/3] testsuite: Add test to check dtb deployment

Message ID 20251008085507.1017500-3-amikan@ilbers.de
State New
Headers show
Series Deploy DTBs with separate recipe | expand

Commit Message

Anton Mikanovich Oct. 8, 2025, 8:55 a.m. UTC
Build several images in parallel to catch all possible conflicts
between deployed DTB files:
 - Same distro/machine, different images.
 - Same machine, different distros.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 testsuite/citest.py | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Patch

diff --git a/testsuite/citest.py b/testsuite/citest.py
index c99b2fb3..1f1de225 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -277,6 +277,29 @@  class WicTest(CIBaseTest):
         )
 
 
+class DtbDeployTest(CIBaseTest):
+
+    """
+    Build some targets potentially causing DTB deploy issues.
+    Cover cases:
+      - Same machine, different distros
+      - Same machine/distro, different images
+
+    :avocado: tags=dtbdeploy,full
+    """
+
+    def test_dtb_deploy(self):
+        targets = [
+            'mc:phyboard-mira-bullseye:isar-image-base',
+            'mc:phyboard-mira-bullseye:isar-image-ci',
+            'mc:phyboard-mira-bookworm:isar-image-base',
+            'mc:phyboard-mira-bookworm:isar-image-ci',
+        ]
+
+        self.init()
+        self.perform_build_test(targets)
+
+
 class NoCrossTest(CIBaseTest):
 
     """