[v2,09/17] testsuite: make test_cross_deps more specific

Message ID 20251219131923.1504046-10-felix.moessbauer@siemens.com
State Under Review
Headers show
Series Various improvements to the testsuite | expand

Commit Message

Felix Moessbauer Dec. 19, 2025, 1:19 p.m. UTC
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):
     """