oe-selftest: Add baremetal toolchain test

(From OE-Core rev: 1f3487dcd9eeaa18eec1103d2861849597335de1)

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>
This commit is contained in:
Alejandro Hernandez Samaniego 2023-01-08 12:40:05 -07:00 committed by Richard Purdie
parent 6bcbbd9ee3
commit 293ae7b98b

View File

@ -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')