summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/baremetal.py
diff options
context:
space:
mode:
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>2023-01-08 12:40:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-12 23:07:39 +0000
commit1f3487dcd9eeaa18eec1103d2861849597335de1 (patch)
tree0e2b1e6efc467f84d61366e2638e89a1564df0ff /meta/lib/oeqa/selftest/cases/baremetal.py
parent13916de0145f83bb28323f0a6bde5c3d503c1319 (diff)
downloadopenembedded-core-contrib-1f3487dcd9eeaa18eec1103d2861849597335de1.tar.gz
oe-selftest: Add baremetal toolchain test
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/baremetal.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/baremetal.py14
1 files changed, 14 insertions, 0 deletions
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')