diff options
author | Ross Burton <ross@burtonini.com> | 2022-02-08 14:30:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-12 17:05:35 +0000 |
commit | a1fc8f99444665342b47b636196e7775b096473e (patch) | |
tree | 6fc2cd8e6109e66d6aaab46e92b710a94503cf39 /meta/lib | |
parent | a28c145aa40b4b29dc1f2b5db44ffc187fcd3f21 (diff) | |
download | poky-a1fc8f99444665342b47b636196e7775b096473e.tar.gz |
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>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/newlib.py | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: MIT | ||
3 | # | ||
4 | |||
5 | from oeqa.selftest.case import OESelftestTestCase | ||
6 | from oeqa.utils.commands import bitbake | ||
7 | |||
8 | class NewlibTest(OESelftestTestCase): | ||
9 | def test_newlib(self): | ||
10 | self.write_config('TCLIBC = "newlib"') | ||
11 | bitbake("newlib libgloss") | ||