Title: [165460] trunk/Tools
Revision
165460
Author
mmaxfi...@apple.com
Date
2014-03-11 20:47:16 -0700 (Tue, 11 Mar 2014)

Log Message

Some images are blank in the rebaseline server UI
https://bugs.webkit.org/show_bug.cgi?id=130104

Reviewed by Tim Horton.

Let the server check for images in the 'retries' directory
if it can't find an image otherwise.

* Scripts/webkitpy/tool/servers/rebaselineserver.py:
(RebaselineHTTPRequestHandler.test_result):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (165459 => 165460)


--- trunk/Tools/ChangeLog	2014-03-12 03:42:42 UTC (rev 165459)
+++ trunk/Tools/ChangeLog	2014-03-12 03:47:16 UTC (rev 165460)
@@ -1,3 +1,16 @@
+2014-03-11  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        Some images are blank in the rebaseline server UI
+        https://bugs.webkit.org/show_bug.cgi?id=130104
+
+        Reviewed by Tim Horton.
+
+        Let the server check for images in the 'retries' directory
+        if it can't find an image otherwise.
+
+        * Scripts/webkitpy/tool/servers/rebaselineserver.py:
+        (RebaselineHTTPRequestHandler.test_result):
+
 2014-03-11  Gustavo Noronha Silva  <gustavo.noro...@collabora.com>
 
         [GTK][CMake] --update-gtk has no effect

Modified: trunk/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py (165459 => 165460)


--- trunk/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py	2014-03-12 03:42:42 UTC (rev 165459)
+++ trunk/Tools/Scripts/webkitpy/tool/servers/rebaselineserver.py	2014-03-12 03:47:16 UTC (rev 165460)
@@ -280,6 +280,8 @@
             file_name = test_name + '-pretty-diff.html'
 
         file_path = os.path.join(self.server.test_config.results_directory, file_name)
+        if not os.path.isfile(file_path):
+            file_path = os.path.join(self.server.test_config.results_directory, 'retries', file_name)
 
         # Let results be cached for 60 seconds, so that they can be pre-fetched
         # by the UI
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to