diff mbox series

[v2,3/3] oe-selftest: Add baremetal toolchain test

Message ID 20230108194005.2208934-1-alejandro@enedino.org
State Accepted, archived
Commit 1f3487dcd9eeaa18eec1103d2861849597335de1
Headers show
Series None | expand

Commit Message

Alejandro Enedino Hernandez Samaniego Jan. 8, 2023, 7:40 p.m. UTC
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
---
 meta/lib/oeqa/selftest/cases/baremetal.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta/lib/oeqa/selftest/cases/baremetal.py
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/baremetal.py b/meta/lib/oeqa/selftest/cases/baremetal.py
new file mode 100644
index 0000000000..cadaea2f1a
--- /dev/null
+++ b/meta/lib/oeqa/selftest/cases/baremetal.py
@@ -0,0 +1,14 @@ 
+
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+from oeqa.selftest.case import OESelftestTestCase
+from oeqa.utils.commands import bitbake
+
+class BaremetalTest(OESelftestTestCase):
+    def test_baremetal(self):
+        self.write_config('TCLIBC = "baremetal"')
+        bitbake('baremetal-helloworld')