[v2,RESEND,3/3] CI: Add minimal artifact building testcase

Message ID 20251015140846.1953962-4-wzh@ilbers.de
State Accepted, archived
Headers show
Series [v2,RESEND,1/3] CI: Add nop testcase | expand

Commit Message

Zhihang Wei Oct. 15, 2025, 2:08 p.m. UTC
This testcase builds a minimal artifact (prebuilt-deb). It takes about a
minute to test whether bitbake can actually build anything.

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

Patch

diff --git a/testsuite/citest.py b/testsuite/citest.py
index 58e76b11..a1214e9c 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -47,6 +47,14 @@  class EnvTest(CIBaseTest):
         if(bitbake_ret[0] != 0):
             self.fail("bitbake -e: returned an error")
 
+    def test_build(self):
+        targets = [
+            'mc:qemuamd64-bookworm:prebuilt-deb',
+        ]
+
+        self.init()
+        self.perform_build_test(targets)
+
 
 class DevTest(CIBaseTest):