Changeset 83799 in webkit


Ignore:
Timestamp:
Apr 13, 2011 6:13:39 PM (13 years ago)
Author:
ojan@chromium.org
Message:

2011-04-13 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

generated unexpected_results.html from unexpected_results.json
https://bugs.webkit.org/show_bug.cgi?id=52763

Eventually, we'll merge this with results.html and have a single richer results page.
For now, I just want to get something checked in that we can iterate on.

  • Scripts/webkitpy/layout_tests/layout_package/json_results.html: Added.
  • Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
Location:
trunk/Tools
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r83797 r83799  
     12011-04-13  Ojan Vafai  <ojan@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        generated unexpected_results.html from unexpected_results.json
     6        https://bugs.webkit.org/show_bug.cgi?id=52763
     7
     8        Eventually, we'll merge this with results.html and have a single richer results page.
     9        For now, I just want to get something checked in that we can iterate on.
     10
     11        * Scripts/webkitpy/layout_tests/layout_package/json_results.html: Added.
     12        * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
     13
    1142011-04-13  Eric Seidel  <eric@webkit.org>
    215
  • trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/test_runner.py

    r83635 r83799  
    715715            if self._options.show_results and wrote_results:
    716716                self._show_results_html_file()
     717            self._write_unexpected_results_html_file(unexpected_results)
    717718
    718719        # Now that we've completed all the processing we can, we re-raise
     
    11901191
    11911192        return True
     1193
     1194    # FIXME: Have this replace results.html and have a checkbox for whether to show expected failures or not.
     1195    def _write_unexpected_results_html_file(self, unexpected_results):
     1196        base_dir = self._port.path_from_webkit_base('Tools', 'Scripts', 'webkitpy', 'layout_tests', 'layout_package')
     1197        self._fs.copyfile(self._fs.join(base_dir, "json_results.html"), self._fs.join(self._results_directory, "json_results.html"))
    11921198
    11931199    def _show_results_html_file(self):
Note: See TracChangeset for help on using the changeset viewer.