poky/meta/lib/patchtest/selftest/files/TestMetadata.test_summary_presence.pass
Trevor Gamblin 7040223b09 patchtest: selftest: fix patch files
Recent changes to the selftest-hello recipe caused the patchtest
selftest patches to not apply cleanly, which in turn meant several tests
weren't being fully executed or were reporting unexpected PASS/SKIP.

Update all of the test patch files to use a newer baseline and apply
cleanly again.

(From OE-Core rev: d73373d8a590d68e448af2e9ac600adc85777604)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-05 16:47:58 +01:00

44 lines
1.3 KiB
Plaintext

From 04eb94a0134ef5eb5b5fd783b303104fbfcd8437 Mon Sep 17 00:00:00 2001
From: Trevor Gamblin <tgamblin@baylibre.com>
Date: Fri, 31 May 2024 11:03:47 -0400
Subject: [PATCH] selftest-hello: add selftest-hello-extra
This should pass the test_summary_presence test.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
.../selftest-hello-extra_1.0.bb | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb
new file mode 100644
index 00000000000..f3dec1b220c
--- /dev/null
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb
@@ -0,0 +1,21 @@
+SUMMARY = "This is an example summary"
+DESCRIPTION = "Simple helloworld application -- selftest variant"
+SECTION = "examples"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+SRC_URI = "file://helloworld.c"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
+
+do_compile() {
+ ${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 helloworld ${D}${bindir}
+}
+
+BBCLASSEXTEND = "native nativesdk"
--
2.45.1