oeqa/selftest: test that newlib can build
PATCH 1/1 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.
Signed-off-by Ross Burton <[email protected]>
--- meta/lib/oeqa/selftest/cases/newlib.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/lib/oeqa/selftest/cases/newlib.py
meta/lib/oeqa/selftest/cases/newlib.py new file +11 -0
@@ -0,0 +1,11 @@ +# +# 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")
Signature · 1 line
2.25.1