From: Alexandre Belloni Date: Thu, 7 Jul 2022 10:12:42 +0000 (+0200) Subject: oeqa/selftest/bbtests: Update message lookup for test_git_unpack_nonetwork_fail X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3661 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e64b63f96dd1d71e263e7bbbe6591e51e98395a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/selftest/bbtests: Update message lookup for test_git_unpack_nonetwork_fail bitbake's output changed, update the test Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py index cfac7afcf49..b42bbb651da 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\" self.write_config("DISTROOVERRIDES .= \":gitunpack-enable-recipe\"") result = bitbake('gitunpackoffline-fail -c fetch', ignore_status=True) - 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) + 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)