Title: [233150] trunk/Tools
Revision
233150
Author
commit-qu...@webkit.org
Date
2018-06-25 09:31:50 -0700 (Mon, 25 Jun 2018)

Log Message

[test262-runner] Sort the list of failing files in the HTML report
https://bugs.webkit.org/show_bug.cgi?id=186998

Patch by Leo Balter <leonardo.bal...@gmail.com> on 2018-06-25
Reviewed by Michael Saboff.

* Scripts/test262/Runner.pm:
(printHTMLResults): The current list of failing files it not ordered and it's hard to read.
This small patch will sort the list.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (233149 => 233150)


--- trunk/Tools/ChangeLog	2018-06-25 16:22:08 UTC (rev 233149)
+++ trunk/Tools/ChangeLog	2018-06-25 16:31:50 UTC (rev 233150)
@@ -1,3 +1,14 @@
+2018-06-25  Leo Balter  <leonardo.bal...@gmail.com>
+
+        [test262-runner] Sort the list of failing files in the HTML report
+        https://bugs.webkit.org/show_bug.cgi?id=186998
+
+        Reviewed by Michael Saboff.
+
+        * Scripts/test262/Runner.pm:
+        (printHTMLResults): The current list of failing files it not ordered and it's hard to read.
+        This small patch will sort the list.
+
 2018-06-25  Robin Morisset  <rmoris...@apple.com>
 
         [WSL] Start writing the Sphinx document

Modified: trunk/Tools/Scripts/test262/Runner.pm (233149 => 233150)


--- trunk/Tools/Scripts/test262/Runner.pm	2018-06-25 16:22:08 UTC (rev 233149)
+++ trunk/Tools/Scripts/test262/Runner.pm	2018-06-25 16:31:50 UTC (rev 233150)
@@ -1166,7 +1166,8 @@
 
     print $htmlfh qq{</ul><h2>Failures</h2><ul>};
 
-    while (my ($path, $scenarios) = each %failed) {
+    foreach my $path (sort keys %failed) {
+        my $scenarios = $failed{$path};
         print $htmlfh qq{<li class="list-item">
             <label for="" class="expander-control">$path</label>
             <input type="checkbox" id="$path" class="expander">
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to