diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-09-17 11:38:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-18 08:53:10 +0100 |
commit | 16bf55b8fba44a49b748e144f8da8c47c40abc5e (patch) | |
tree | 76cd28e43aef1aa6a2b31b4d79767ddec18a2427 | |
parent | 3dac429130c690abf9f092252e7935437d7908da (diff) | |
download | poky-16bf55b8fba44a49b748e144f8da8c47c40abc5e.tar.gz |
go-helloworld: update to latest revision
Fix up test case to match what binary prints.
(From OE-Core rev: 4683804b9669c71d31ea6a8a300e6e87e817ee12)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/runtime/cases/go.py | 2 | ||||
-rw-r--r-- | meta/recipes-extended/go-examples/go-helloworld_0.1.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/cases/go.py b/meta/lib/oeqa/runtime/cases/go.py index 7514d108f1..39a80f4dca 100644 --- a/meta/lib/oeqa/runtime/cases/go.py +++ b/meta/lib/oeqa/runtime/cases/go.py | |||
@@ -18,4 +18,4 @@ class GoHelloworldTest(OERuntimeTestCase): | |||
18 | self.assertEqual(status, 0, msg=msg) | 18 | self.assertEqual(status, 0, msg=msg) |
19 | 19 | ||
20 | msg = 'Incorrect output: %s' % output | 20 | msg = 'Incorrect output: %s' % output |
21 | self.assertEqual(output, "Hello, Go examples!", msg=msg) | 21 | self.assertEqual(output, "Hello, world!", msg=msg) |
diff --git a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb index ce6ec08c59..98cd4d8103 100644 --- a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb +++ b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb | |||
@@ -6,7 +6,7 @@ LICENSE = "MIT" | |||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
7 | 7 | ||
8 | SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https" | 8 | SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https" |
9 | SRCREV = "5bec756976671f30903223ec46ff8a70dced4954" | 9 | SRCREV = "d9923f6970e9ba7e0d23aa9448ead71ea57235ae" |
10 | UPSTREAM_CHECK_COMMITS = "1" | 10 | UPSTREAM_CHECK_COMMITS = "1" |
11 | 11 | ||
12 | GO_IMPORT = "golang.org/x/example" | 12 | GO_IMPORT = "golang.org/x/example" |