[v3,18/20] testsuite: Group prebuilt_containers related test cases together

Message ID 20260123082501.240751-19-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: Anton Mikanovich <amikan@ilbers.de>

The prebuilt_containers related startvm test cases are now moved right
after where the artificates were built. Also, the prebuilt_containers
test case now build full images anyway, to avoid dependency on other
test suits. As the startvm tests were in full, this test suite now
belong to full.

Signed-off-by: Zhihang Wei <wzh@ilbers.de>
---
 testsuite/citest.py | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)

Patch

diff --git a/testsuite/citest.py b/testsuite/citest.py
index 49fcdec0..14230062 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -308,7 +308,7 @@  class CrossTest(CIBaseTest):
 class PrebuiltTest(CIBaseTest):
     """
     Tests associated with prebuilt artifacts (containers, debs).
-    :avocado: tags=prebuilt,fast
+    :avocado: tags=prebuilt,full
     """
 
     def test_prebuilt_containers(self):
@@ -320,9 +320,24 @@  class PrebuiltTest(CIBaseTest):
         self.init()
         self.perform_build_test(
             targets,
-            bitbake_cmd='do_rootfs_install',
             image_install="prebuilt-docker-img prebuilt-podman-img")
 
+    def test_run_amd64_bookworm_prebuilt_containers(self):
+        """
+        :avocado: tags=startvm
+        """
+        self.init()
+        self.vm_start('amd64', 'bookworm', image='isar-image-ci',
+                      script='test_prebuilt_containers.sh')
+
+    def test_run_arm64_bookworm_prebuilt_containers(self):
+        """
+        :avocado: tags=startvm
+        """
+        self.init()
+        self.vm_start('arm64', 'bookworm', image='isar-image-ci',
+                      script='test_prebuilt_containers.sh')
+
 
 class KernelTests(CIBaseTest):
     """
@@ -1074,22 +1089,6 @@  class VmBootTestFull(CIBaseTest):
         except exceptions.TestFail:
             self.cancel('KFAIL')
 
-    def test_amd64_bookworm_prebuilt_containers(self):
-        self.init()
-        self.perform_build_test(
-            ['mc:qemuamd64-bookworm:isar-image-ci'],
-            image_install="prebuilt-docker-img prebuilt-podman-img")
-        self.vm_start('amd64', 'bookworm', image='isar-image-ci',
-                      script='test_prebuilt_containers.sh')
-
-    def test_arm64_bookworm_prebuilt_containers(self):
-        self.init()
-        self.perform_build_test(
-            ['mc:qemuarm64-bookworm:isar-image-ci'],
-            image_install="prebuilt-docker-img prebuilt-podman-img")
-        self.vm_start('arm64', 'bookworm', image='isar-image-ci',
-                      script='test_prebuilt_containers.sh')
-
     def test_amd64_bookworm_iso(self):
         self.init()
         self.vm_start('amd64-iso', 'bookworm', image='isar-image-ci',