@@ -78,6 +78,16 @@ STATUS_STRINGS = {
"None": "No matching test result"
}
+TEST_KEY_WHITELIST = [
+ "ltpposixresult.rawlogs",
+ "ltpposixresult.sections",
+ "ltpresult.rawlogs",
+ "ltpresult.sections",
+ "ptestresult.sections",
+ "reproducible",
+ "reproducible.rawlogs"
+]
+
def test_has_at_least_one_matching_tag(test, tag_list):
return "oetags" in test and any(oetag in tag_list for oetag in test["oetags"])
@@ -189,6 +199,10 @@ def compare_result(logger, base_name, target_name, base_result, target_result):
if base_result and target_result:
for k in base_result:
+ # Some entries present in test results are known not to be test
+ # results but metadata about tests
+ if k in TEST_KEY_WHITELIST:
+ continue
base_testcase = base_result[k]
base_status = base_testcase.get('status')
if base_status: