From d3611f9db615be393016a8ab5340ccea7f13832b Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 16 Jul 2015 12:07:13 -0700 Subject: Sort unexpected test results. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1232203003 . --- testing/tools/run_corpus_tests.py | 2 ++ testing/tools/run_javascript_tests.py | 1 + testing/tools/run_pixel_tests.py | 1 + 3 files changed, 4 insertions(+) diff --git a/testing/tools/run_corpus_tests.py b/testing/tools/run_corpus_tests.py index dbc8f35a91..ba014d49e7 100755 --- a/testing/tools/run_corpus_tests.py +++ b/testing/tools/run_corpus_tests.py @@ -73,11 +73,13 @@ def main(): failures.append(input_path) if surprises: + surprise.sort() print '\n\nUnexpected Successes:' for surprise in surprises: print surprise; if failures: + failures.sort() print '\n\nSummary of Failures:' for failure in failures: print failure diff --git a/testing/tools/run_javascript_tests.py b/testing/tools/run_javascript_tests.py index ff66d9c350..f9344a145f 100755 --- a/testing/tools/run_javascript_tests.py +++ b/testing/tools/run_javascript_tests.py @@ -66,6 +66,7 @@ def main(): failures.append(input_path) if failures: + failures.sort() print '\n\nSummary of Failures:' for failure in failures: print failure diff --git a/testing/tools/run_pixel_tests.py b/testing/tools/run_pixel_tests.py index 168846265b..98e8916cc0 100755 --- a/testing/tools/run_pixel_tests.py +++ b/testing/tools/run_pixel_tests.py @@ -70,6 +70,7 @@ def main(): failures.append(input_path) if failures: + failures.sort() print '\n\nSummary of Failures:' for failure in failures: print failure -- cgit v1.2.3