[v3,09/20] testsuite: make test_cross_deps more specific

Message ID 20260123082501.240751-10-wzh@ilbers.de
State Under Review
Headers show
Series Various improvements to the testsuite | expand

Commit Message

Zhihang Wei Jan. 23, 2026, 8:24 a.m. UTC
From: "MOESSBAUER, Felix" <felix.moessbauer@siemens.com>

We don't need to build all packages to just check the cross dependency
propagation. Just install the single package we are interested in.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 testsuite/citest.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Patch

diff --git a/testsuite/citest.py b/testsuite/citest.py
index 3c92f788..52f86486 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -278,12 +278,11 @@  class CrossTest(CIBaseTest):
             'mc:qemuarm64-bookworm:isar-image-ci',
         ]
 
-        lines = [f"IMAGER_BUILD_DEPS:append = ' test-all-depnocross-native'",
-                 f"IMAGE_INSTALL:append = ' test-all-deponlycross'",
-        ]
+        lines = [f"IMAGER_BUILD_DEPS:append = ' test-all-depnocross-native'"]
 
         self.init()
-        self.perform_build_test(targets, lines=lines)
+        self.perform_build_test(targets, lines=lines,
+                                image_install='test-all-deponlycross')
 
 class PrebuiltTest(CIBaseTest):
     """