From: Alexis Lothoré Date: Tue, 28 Feb 2023 18:10:51 +0000 (+0100) Subject: oeqa/selftest/resulttool: add test for error propagation in test name filtering X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1448 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17d825c88499c6f7e3ffe22fae099871d0850abc;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/selftest/resulttool: add test for error propagation in test name filtering Signed-off-by: Alexis Lothoré Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/resulttooltests.py b/meta/lib/oeqa/selftest/cases/resulttooltests.py index eeed276b8de..c3303f3fbbe 100644 --- a/meta/lib/oeqa/selftest/cases/resulttooltests.py +++ b/meta/lib/oeqa/selftest/cases/resulttooltests.py @@ -322,6 +322,18 @@ class ResultToolTests(OESelftestTestCase): }, "ptestresult.curl.test_0000__foo_out_of_bar": { "status": "PASSED" + }, + "ptestresult.dbus.test_0000__foo_out_of_bar,_remaining:_00:02,_took_0.032s,_duration:_03:32_": { + "status": "PASSED" + }, + "ptestresult.binutils-ld.in testcase /foo/build-st-bar/moo/ctf.exp": { + "status": "PASSED" + }, + "ptestresult.gcc-libstdc++-v3.Couldn't create remote directory /tmp/runtest.30975 on target": { + "status": "PASSED" + }, + "ptestresult.gcc-libgomp.Couldn't create remote directory /tmp/runtest.3657621 on": { + "status": "PASSED" } }}}} target_configuration = {"a": { @@ -341,6 +353,18 @@ class ResultToolTests(OESelftestTestCase): }, "ptestresult.curl.test_0000__xxx_out_of_yyy": { "status": "PASSED" + }, + "ptestresult.dbus.test_0000__yyy_out_of_zzz,_remaining:_00:03,_took_0.034s,_duration:_03:30_": { + "status": "PASSED" + }, + "ptestresult.binutils-ld.in testcase /xxx/build-st-yyy/zzz/ctf.exp": { + "status": "PASSED" + }, + "ptestresult.gcc-libstdc++-v3.Couldn't create remote directory /tmp/runtest.45678 on target": { + "status": "PASSED" + }, + "ptestresult.gcc-libgomp.Couldn't create remote directory /tmp/runtest.3657621 on": { + "status": "PASSED" } }}}} regression.fixup_ptest_names(base_configuration, self.logger)