mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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:
parent
6bcbbd9ee3
commit
293ae7b98b
14
meta/lib/oeqa/selftest/cases/baremetal.py
Normal file
14
meta/lib/oeqa/selftest/cases/baremetal.py
Normal 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')
|
Loading…
Reference in New Issue
Block a user