Files
poky/meta/lib/oeqa/selftest/cases/newlib.py
Ross Burton a1fc8f9944 oeqa/selftest: test that newlib can build
Add a test to set TCLIBC=newlib and build newlib/libgloss.

This is the absolute minimum test, but at least it exercises the build
of this package.

(From OE-Core rev: cd670fd657a54601b10e9e09a40c5b51ed4d1cf8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00

12 lines
274 B
Python

#
# SPDX-License-Identifier: MIT
#
from oeqa.selftest.case import OESelftestTestCase
from oeqa.utils.commands import bitbake
class NewlibTest(OESelftestTestCase):
def test_newlib(self):
self.write_config('TCLIBC = "newlib"')
bitbake("newlib libgloss")