]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
patchtest: update testdata for selftest
authorGyorgy Sarvari <skandigraun@gmail.com>
Mon, 15 Sep 2025 09:02:08 +0000 (11:02 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Sep 2025 10:08:20 +0000 (11:08 +0100)
The test-patch for test_src_uri_left_files selftest got out of date.
This patch updates it to make it apply on the repo again.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/patchtest/selftest/files/TestMetadata.test_src_uri_left_files.fail
meta/lib/patchtest/selftest/files/TestMetadata.test_src_uri_left_files.pass

index 0a402d0a3e9f561ecaed37ec5031a9b23f5dbc54..13e1a75a66212658133420ffde4ef5a10bc09fff 100644 (file)
@@ -11,7 +11,7 @@ Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
  1 file changed, 2 deletions(-)
 
 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 2dc352d479e..e95270adaeb 100644
+index 0ffe7308ba..bd8f4245a2 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"
@@ -20,9 +20,6 @@ index 2dc352d479e..e95270adaeb 100644
  
 -SRC_URI = "file://helloworld.c"
 -
- S = "${WORKDIR}/sources"
- UNPACKDIR = "${S}"
+ S = "${UNPACKDIR}"
  
--- 
-2.45.1
-
+ do_compile() {
index a675c028d0f34ab4485c808994835cc0c24b443d..c06580f0548c053829d19f795c5d081b957dbb65 100644 (file)
@@ -36,9 +36,6 @@ index 2dc352d479e..e95270adaeb 100644
  
 -SRC_URI = "file://helloworld.c"
 -
- S = "${WORKDIR}/sources"
- UNPACKDIR = "${S}"
+ S = "${UNPACKDIR}"
  
--- 
-2.45.1
-
+ do_compile() {