Add "optimize-expectations" command to webkit-patch.
Created attachment 102807 [details] Patch
Comment on attachment 102807 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=102807&action=review > Tools/Scripts/webkitpy/tool/commands/expectations.py:31 > +import os.path > +import shutil > +import urllib These don't seem to be needed. > Tools/Scripts/webkitpy/tool/commands/expectations.py:35 > +from webkitpy.layout_tests.models.test_configuration import * > +from webkitpy.layout_tests.models.test_expectations import * Star imports are forbidden outside of unittest files. > Tools/Scripts/webkitpy/tool/commands/expectations.py:51 > + port.filesystem.write_text_file(port.path_to_test_expectations_file(), TestExpectationSerializer.list_to_string(expectation_lines, converter)) You should get the filesystem from the tool.
Created attachment 102831 [details] Patch for landing
Comment on attachment 102831 [details] Patch for landing Clearing flags on attachment: 102831 Committed r92324: <http://trac.webkit.org/changeset/92324>
All reviewed patches have been landed. Closing bug.