summaryrefslogtreecommitdiffstats
path: root/meta/lib/patchtest/selftest/files/TestMetadata.test_summary_presence.fail
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/patchtest/selftest/files/TestMetadata.test_summary_presence.fail')
-rw-r--r--meta/lib/patchtest/selftest/files/TestMetadata.test_summary_presence.fail42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/lib/patchtest/selftest/files/TestMetadata.test_summary_presence.fail b/meta/lib/patchtest/selftest/files/TestMetadata.test_summary_presence.fail
new file mode 100644
index 0000000000..1087843619
--- /dev/null
+++ b/meta/lib/patchtest/selftest/files/TestMetadata.test_summary_presence.fail
@@ -0,0 +1,42 @@
1From f4b72cc24f5e2a290a8637775c4d41c16d5d83aa Mon Sep 17 00:00:00 2001
2From: Trevor Gamblin <tgamblin@baylibre.com>
3Date: Fri, 31 May 2024 11:03:47 -0400
4Subject: [PATCH] selftest-hello: add selftest-hello-extra
5
6This should fail the test_summary_presence test.
7
8Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
9---
10 .../selftest-hello-extra_1.0.bb | 20 +++++++++++++++++++
11 1 file changed, 20 insertions(+)
12 create mode 100644 meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb
13
14diff --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
15new file mode 100644
16index 00000000000..2dc352d479e
17--- /dev/null
18+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello-extra_1.0.bb
19@@ -0,0 +1,20 @@
20+DESCRIPTION = "Simple helloworld application -- selftest variant"
21+SECTION = "examples"
22+LICENSE = "MIT"
23+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
24+
25+SRC_URI = "file://helloworld.c"
26+
27+S = "${WORKDIR}/sources"
28+UNPACKDIR = "${S}"
29+
30+do_compile() {
31+ ${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld
32+}
33+
34+do_install() {
35+ install -d ${D}${bindir}
36+ install -m 0755 helloworld ${D}${bindir}
37+}
38+
39+BBCLASSEXTEND = "native nativesdk"
40--
412.45.1
42