poky/meta/lib/oeqa/selftest/cases/baremetal.py
Alejandro Hernandez Samaniego 293ae7b98b 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>
2023-01-12 23:08:59 +00:00

15 lines
329 B
Python

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