Message ID | 20220208143043.4129965-1-ross.burton@arm.com |
---|---|
State | Accepted, archived |
Commit | cd670fd657a54601b10e9e09a40c5b51ed4d1cf8 |
Headers | show |
Series | oeqa/selftest: test that newlib can build | expand |
diff --git a/meta/lib/oeqa/selftest/cases/newlib.py b/meta/lib/oeqa/selftest/cases/newlib.py new file mode 100644 index 00000000000..999e3e78b08 --- /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")
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 <ross.burton@arm.com> --- meta/lib/oeqa/selftest/cases/newlib.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/lib/oeqa/selftest/cases/newlib.py