From: Changqing Li Date: Fri, 11 Oct 2024 02:19:11 +0000 (+0800) Subject: resulttool/regression.py: skip checking status for ptestresult.rawlogs/ptestresult... X-Git-Tag: uninative-4.7~1188 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c83a535d1b32f7fd292cd9caea1ec962bc3c735b;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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 Signed-off-by: Changqing Li Signed-off-by: Richard Purdie --- diff --git a/scripts/lib/resulttool/regression.py b/scripts/lib/resulttool/regression.py index 204e6eecb7a..33b3119c54e 100644 --- a/scripts/lib/resulttool/regression.py +++ b/scripts/lib/resulttool/regression.py @@ -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: