author | James Graham <james@hoppipolla.co.uk> |
Tue, 19 Feb 2019 14:39:06 +0000 | |
changeset 461358 | ba11e3c978ee7e8bbd7862f775ddd72e13b322ff |
parent 461357 | 493a1e6d8fd23f7da345e00b1fc10f335633d968 |
child 461359 | 142670db05d523d24176333a5106e8a971bba2d3 |
push id | 35622 |
push user | ncsoregi@mozilla.com |
push date | Wed, 27 Feb 2019 04:32:15 +0000 |
treeherder | mozilla-central@5b8896aa3f69 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1527153, 15330 |
milestone | 67.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
testing/web-platform/tests/tools/wptrunner/wptrunner/stability.py | file | annotate | diff | comparison | revisions |
--- a/testing/web-platform/tests/tools/wptrunner/wptrunner/stability.py +++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/stability.py @@ -158,19 +158,22 @@ def process_results(log, iterations): return results, inconsistent, slow def err_string(results_dict, iterations): """Create and return string with errors from test run.""" rv = [] total_results = sum(results_dict.values()) - for key, value in sorted(results_dict.items()): - rv.append("%s%s" % - (key, ": %s/%s" % (value, iterations) if value != iterations else "")) + if total_results > iterations: + rv.append("Duplicate subtest name") + else: + for key, value in sorted(results_dict.items()): + rv.append("%s%s" % + (key, ": %s/%s" % (value, iterations) if value != iterations else "")) if total_results < iterations: rv.append("MISSING: %s/%s" % (iterations - total_results, iterations)) rv = ", ".join(rv) if is_inconsistent(results_dict, iterations): rv = "**%s**" % rv return rv