Changeset 88598 in webkit
- Timestamp:
- Jun 10, 2011, 11:04:28 PM (14 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r88589 r88598 1 2011-06-10 Ryosuke Niwa <rniwa@webkit.org> 2 3 Reviewed by Ojan Vafai. 4 5 new-run-webkit-tests: 'images' links on results.html don't work 6 https://bugs.webkit.org/show_bug.cgi?id=62194 7 8 Use relative path when generating images-diffs.html 9 10 * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py: 11 Added _output_testname. 12 1 13 2011-06-10 Lucas Forschler <lforschler@apple.com> 2 14 -
trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py
r85610 r88598 133 133 return fs.splitext(output_filename)[0] + modifier 134 134 135 def _output_testname(self, modifier): 136 fs = self._port._filesystem 137 return fs.splitext(fs.basename(self._testname))[0] + modifier 138 135 139 def write_output_files(self, file_type, output, expected): 136 140 """Writes the test output, the expected output in the results directory. … … 242 246 setInterval(toggleImages, 2000) 243 247 </script> 244 """ % { 'title': self._testname, 'diff_filename': self. output_filename('-diff.png'), 'prefix': self.output_filename('') }248 """ % { 'title': self._testname, 'diff_filename': self._output_testname('-diff.png'), 'prefix': self._output_testname('') } 245 249 self._port._filesystem.write_binary_file(diffs_html_filename, html) 246 250
Note:
See TracChangeset
for help on using the changeset viewer.