diff options
author | Alexis Lothoré <alexis.lothore@bootlin.com> | 2023-02-28 19:10:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-12 23:39:13 +0000 |
commit | c31c140746c9ccf3183b8046a24ed040d5c94934 (patch) | |
tree | 2bd258569a0d08919673650e33addd40d761d778 /meta/lib/oeqa/selftest/cases | |
parent | 1feffaf41ade3c60a186262d07682893510a42ba (diff) | |
download | poky-c31c140746c9ccf3183b8046a24ed040d5c94934.tar.gz |
oeqa/selftest/resulttool: add test for error propagation in test name filtering
(From OE-Core rev: 17d825c88499c6f7e3ffe22fae099871d0850abc)
Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/resulttooltests.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/resulttooltests.py b/meta/lib/oeqa/selftest/cases/resulttooltests.py index eeed276b8d..c3303f3fbb 100644 --- a/meta/lib/oeqa/selftest/cases/resulttooltests.py +++ b/meta/lib/oeqa/selftest/cases/resulttooltests.py | |||
@@ -322,6 +322,18 @@ class ResultToolTests(OESelftestTestCase): | |||
322 | }, | 322 | }, |
323 | "ptestresult.curl.test_0000__foo_out_of_bar": { | 323 | "ptestresult.curl.test_0000__foo_out_of_bar": { |
324 | "status": "PASSED" | 324 | "status": "PASSED" |
325 | }, | ||
326 | "ptestresult.dbus.test_0000__foo_out_of_bar,_remaining:_00:02,_took_0.032s,_duration:_03:32_": { | ||
327 | "status": "PASSED" | ||
328 | }, | ||
329 | "ptestresult.binutils-ld.in testcase /foo/build-st-bar/moo/ctf.exp": { | ||
330 | "status": "PASSED" | ||
331 | }, | ||
332 | "ptestresult.gcc-libstdc++-v3.Couldn't create remote directory /tmp/runtest.30975 on target": { | ||
333 | "status": "PASSED" | ||
334 | }, | ||
335 | "ptestresult.gcc-libgomp.Couldn't create remote directory /tmp/runtest.3657621 on": { | ||
336 | "status": "PASSED" | ||
325 | } | 337 | } |
326 | }}}} | 338 | }}}} |
327 | target_configuration = {"a": { | 339 | target_configuration = {"a": { |
@@ -341,6 +353,18 @@ class ResultToolTests(OESelftestTestCase): | |||
341 | }, | 353 | }, |
342 | "ptestresult.curl.test_0000__xxx_out_of_yyy": { | 354 | "ptestresult.curl.test_0000__xxx_out_of_yyy": { |
343 | "status": "PASSED" | 355 | "status": "PASSED" |
356 | }, | ||
357 | "ptestresult.dbus.test_0000__yyy_out_of_zzz,_remaining:_00:03,_took_0.034s,_duration:_03:30_": { | ||
358 | "status": "PASSED" | ||
359 | }, | ||
360 | "ptestresult.binutils-ld.in testcase /xxx/build-st-yyy/zzz/ctf.exp": { | ||
361 | "status": "PASSED" | ||
362 | }, | ||
363 | "ptestresult.gcc-libstdc++-v3.Couldn't create remote directory /tmp/runtest.45678 on target": { | ||
364 | "status": "PASSED" | ||
365 | }, | ||
366 | "ptestresult.gcc-libgomp.Couldn't create remote directory /tmp/runtest.3657621 on": { | ||
367 | "status": "PASSED" | ||
344 | } | 368 | } |
345 | }}}} | 369 | }}}} |
346 | regression.fixup_ptest_names(base_configuration, self.logger) | 370 | regression.fixup_ptest_names(base_configuration, self.logger) |