]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
resulttool/regression.py: skip checking status for ptestresult.rawlogs/ptestresult...
authorChangqing Li <changqing.li@windriver.com>
Fri, 11 Oct 2024 02:19:11 +0000 (10:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Oct 2024 12:33:13 +0000 (13:33 +0100)
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 <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/resulttool/regression.py

index 204e6eecb7a8949cd798902464f5294eaab63192..33b3119c54efe129035b47ce4309cb7d1a4dd5ee 100644 (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: