diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-07-07 12:12:42 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-08 00:09:42 +0100 |
commit | 120fec33038482c4d2d552aebee2eb63b8e0fba5 (patch) | |
tree | adfe8a878e98f5b45a7527ee3fc08c6d1abbccaf /meta/lib/oeqa/selftest/cases/bbtests.py | |
parent | 5811dbe851631302b7c95e15133ca821a819567b (diff) | |
download | poky-120fec33038482c4d2d552aebee2eb63b8e0fba5.tar.gz |
oeqa/selftest/bbtests: Update message lookup for test_git_unpack_nonetwork_fail
bitbake's output changed, update the test
(From OE-Core rev: 7e64b63f96dd1d71e263e7bbbe6591e51e98395a)
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/bbtests.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/bbtests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py index cfac7afcf4..b42bbb651d 100644 --- a/meta/lib/oeqa/selftest/cases/bbtests.py +++ b/meta/lib/oeqa/selftest/cases/bbtests.py | |||
@@ -350,4 +350,4 @@ INHERIT:remove = \"report-error\" | |||
350 | self.write_config("DISTROOVERRIDES .= \":gitunpack-enable-recipe\"") | 350 | self.write_config("DISTROOVERRIDES .= \":gitunpack-enable-recipe\"") |
351 | 351 | ||
352 | result = bitbake('gitunpackoffline-fail -c fetch', ignore_status=True) | 352 | result = bitbake('gitunpackoffline-fail -c fetch', ignore_status=True) |
353 | self.assertTrue("Recipe uses a floating tag/branch without a fixed SRCREV" in result.output, msg = "Recipe without PV set to SRCPV should have failed: %s" % result.output) | 353 | self.assertTrue(re.search("Recipe uses a floating tag/branch .* for repo .* without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev()", result.output), msg = "Recipe without PV set to SRCPV should have failed: %s" % result.output) |