resulttool/regression.py: skip checking status for ptestresult.rawlogs/ptestresult.sections

ptestresult.rawlogs/ptestresult.sections don't have status is expected,
so skip them to avoid following error when running "resulttool regression
base target":

ERROR: Failed to retrieved base test case status: ptestresult.rawlogs
ERROR: Failed to retrieved base test case status: ptestresult.sections

(From OE-Core rev: c83a535d1b32f7fd292cd9caea1ec962bc3c735b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Changqing Li 2024-10-11 10:19:11 +08:00 committed by Richard Purdie
parent 3315ffac47
commit a8f7f1b87e

View File

@ -212,6 +212,8 @@ def compare_result(logger, base_name, target_name, base_result, target_result, d
if base_result and target_result:
for k in base_result:
if k in ['ptestresult.rawlogs', 'ptestresult.sections']:
continue
base_testcase = base_result[k]
base_status = base_testcase.get('status')
if base_status: