diff options
author | Alejandro Hernandez Samaniego <alejandro@enedino.org> | 2023-01-08 12:40:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-12 23:07:39 +0000 |
commit | 1f3487dcd9eeaa18eec1103d2861849597335de1 (patch) | |
tree | 0e2b1e6efc467f84d61366e2638e89a1564df0ff /meta/lib/oeqa/selftest/cases/baremetal.py | |
parent | 13916de0145f83bb28323f0a6bde5c3d503c1319 (diff) | |
download | openembedded-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.py | 14 |
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') |