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

1 view
Skip to first unread message

Zhihang Wei

unread,
Oct 15, 2025, 10:09:01 AM (3 days ago) Oct 15
to isar-...@googlegroups.com
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 <w...@ilbers.de>
---
testsuite/citest.py | 8 ++++++++
1 file changed, 8 insertions(+)

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):

--
2.39.5

Reply all
Reply to author
Forward
0 new messages