This test runs bitbake -e and passes on success, indicating that bitbake
can be started.
Signed-off-by: Zhihang Wei <
w...@ilbers.de>
---
testsuite/citest.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/testsuite/citest.py b/testsuite/citest.py
index 22d9b580..510ceea9 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -29,6 +29,17 @@ class EnvTest(CIBaseTest):
def test_nop(self):
self.log.info("test_nop finish")
+ def test_bitbake(self):
+ bitbake_ret = self.exec_cmd("-e", "bitbake")
+
+
self.log.info("result on: bitbake -e")
+
self.log.info(f"return code: {str(bitbake_ret[0])}")
+
self.log.info(f"stdout: {str(bitbake_ret[1])}")
+
self.log.info(f"stderr: {str(bitbake_ret[2])}")
+
+ if(bitbake_ret[0] != 0):
+ self.fail("bitbake -e: returned an error")
+
class DevTest(CIBaseTest):
--
2.39.5