diff options
Diffstat (limited to 'scripts/lib/resulttool/regression.py')
-rw-r--r-- | scripts/lib/resulttool/regression.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/lib/resulttool/regression.py b/scripts/lib/resulttool/regression.py index d98504f4ce..560d102e17 100644 --- a/scripts/lib/resulttool/regression.py +++ b/scripts/lib/resulttool/regression.py | |||
@@ -80,6 +80,9 @@ STATUS_STRINGS = { | |||
80 | 80 | ||
81 | REGRESSIONS_DISPLAY_LIMIT=50 | 81 | REGRESSIONS_DISPLAY_LIMIT=50 |
82 | 82 | ||
83 | MISSING_TESTS_BANNER = "-------------------------- Missing tests --------------------------" | ||
84 | ADDITIONAL_DATA_BANNER = "--------------------- Matches and improvements --------------------" | ||
85 | |||
83 | def test_has_at_least_one_matching_tag(test, tag_list): | 86 | def test_has_at_least_one_matching_tag(test, tag_list): |
84 | return "oetags" in test and any(oetag in tag_list for oetag in test["oetags"]) | 87 | return "oetags" in test and any(oetag in tag_list for oetag in test["oetags"]) |
85 | 88 | ||
@@ -312,10 +315,11 @@ def regression_common(args, logger, base_results, target_results): | |||
312 | regressions.append(resstr) | 315 | regressions.append(resstr) |
313 | else: | 316 | else: |
314 | notfound.append("%s not found in target" % a) | 317 | notfound.append("%s not found in target" % a) |
315 | print("\n".join(sorted(matches))) | ||
316 | print("\n") | ||
317 | print("\n".join(sorted(regressions))) | 318 | print("\n".join(sorted(regressions))) |
319 | print("\n" + MISSING_TESTS_BANNER + "\n") | ||
318 | print("\n".join(sorted(notfound))) | 320 | print("\n".join(sorted(notfound))) |
321 | print("\n" + ADDITIONAL_DATA_BANNER + "\n") | ||
322 | print("\n".join(sorted(matches))) | ||
319 | return 0 | 323 | return 0 |
320 | 324 | ||
321 | def regression_git(args, logger): | 325 | def regression_git(args, logger): |