From: Alejandro Hernandez Samaniego Date: Sun, 8 Jan 2023 19:40:05 +0000 (-0700) Subject: oe-selftest: Add baremetal toolchain test X-Git-Tag: 2023-04-mickledore~820 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f3487dcd9eeaa18eec1103d2861849597335de1;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git oe-selftest: Add baremetal toolchain test Signed-off-by: Alejandro Enedino Hernandez Samaniego Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/baremetal.py b/meta/lib/oeqa/selftest/cases/baremetal.py new file mode 100644 index 00000000000..cadaea2f1af --- /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')