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:08:59 +0000 |
| commit | 293ae7b98ba957072af3271fe60be1c78d42478a (patch) | |
| tree | cebca6f6a1fa45a1fb0518fbb71a688c2f82dc8f /meta/lib | |
| parent | 6bcbbd9ee3d2001cc26a4493aeb0d9cdd1b5239d (diff) | |
| download | poky-293ae7b98ba957072af3271fe60be1c78d42478a.tar.gz | |
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>
Diffstat (limited to 'meta/lib')
| -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 @@ | |||
| 1 | |||
| 2 | # | ||
| 3 | # Copyright OpenEmbedded Contributors | ||
| 4 | # | ||
| 5 | # SPDX-License-Identifier: MIT | ||
| 6 | # | ||
| 7 | |||
| 8 | from oeqa.selftest.case import OESelftestTestCase | ||
| 9 | from oeqa.utils.commands import bitbake | ||
| 10 | |||
| 11 | class BaremetalTest(OESelftestTestCase): | ||
| 12 | def test_baremetal(self): | ||
| 13 | self.write_config('TCLIBC = "baremetal"') | ||
| 14 | bitbake('baremetal-helloworld') | ||
