summaryrefslogtreecommitdiffstats
path: root/meta/lib/patchtest/selftest/files/TestMetadata.test_src_uri_left_files.pass
blob: 1f1a77e581fc33dccfda6a85256431b3eef82e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
From 6c7ac367a873bf827c19b81085c943eace917a99 Mon Sep 17 00:00:00 2001
From: Trevor Gamblin <tgamblin@baylibre.com>
Date: Fri, 8 Sep 2023 14:41:00 -0400
Subject: [PATCH] selftest-hello: remove helloworld.c

This should pass the test_src_uri_left_files selftest.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
 .../recipes-test/selftest-hello/files/helloworld.c        | 8 --------
 .../recipes-test/selftest-hello/selftest-hello_1.0.bb     | 4 +---
 2 files changed, 1 insertion(+), 11 deletions(-)
 delete mode 100644 meta-selftest/recipes-test/selftest-hello/files/helloworld.c

diff --git a/meta-selftest/recipes-test/selftest-hello/files/helloworld.c b/meta-selftest/recipes-test/selftest-hello/files/helloworld.c
deleted file mode 100644
index fc7169b7b8..0000000000
--- a/meta-selftest/recipes-test/selftest-hello/files/helloworld.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#include <stdio.h>
-
-int main(void)
-{
-	printf("Hello world!\n");
-
-	return 0;
-}
diff --git a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
index 547587bef4..f6817f05bc 100644
--- a/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
+++ b/meta-selftest/recipes-test/selftest-hello/selftest-hello_1.0.bb
@@ -3,8 +3,6 @@ SECTION = "examples"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-SRC_URI = "file://helloworld.c"
-
 S = "${WORKDIR}"
 
 do_compile() {
@@ -16,4 +14,4 @@ do_install() {
 	install -m 0755 helloworld ${D}${bindir}
 }
 
-BBCLASSEXTEND = "native nativesdk"
\ No newline at end of file
+BBCLASSEXTEND = "native nativesdk"
-- 
2.41.0