Sort unexpected test results.
authorLei Zhang <thestig@chromium.org>
Thu, 16 Jul 2015 19:07:13 +0000 (12:07 -0700)
committerLei Zhang <thestig@chromium.org>
Thu, 16 Jul 2015 19:07:13 +0000 (12:07 -0700)
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1232203003 .

testing/tools/run_corpus_tests.py
testing/tools/run_javascript_tests.py
testing/tools/run_pixel_tests.py

index dbc8f35..ba014d4 100755 (executable)
@@ -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
index ff66d9c..f9344a1 100755 (executable)
@@ -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
index 1688462..98e8916 100755 (executable)
@@ -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