All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] oeqa/selftest: test that newlib can build
@ 2022-02-08 14:30 Ross Burton
  0 siblings, 0 replies; only message in thread
From: Ross Burton @ 2022-02-08 14:30 UTC (permalink / raw)
  To: openembedded-core

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

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")
-- 
2.25.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-08 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08 14:30 [PATCH] oeqa/selftest: test that newlib can build Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.