From: Ross Burton Date: Tue, 8 Feb 2022 14:30:43 +0000 (+0000) Subject: oeqa/selftest: test that newlib can build X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=cd670fd657a54601b10e9e09a40c5b51ed4d1cf8;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/newlib.py b/meta/lib/oeqa/selftest/cases/newlib.py new file mode 100644 index 0000000000..999e3e78b0 --- /dev/null +++ b/meta/lib/oeqa/selftest/cases/newlib.py @@ -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")