Title: [92403] trunk/Tools
Revision
92403
Author
[email protected]
Date
2011-08-04 13:04:03 -0700 (Thu, 04 Aug 2011)

Log Message

Speed up webkit-patch optimize-expectations significantly by not collecting test files.
https://bugs.webkit.org/show_bug.cgi?id=65697

I neglected to realize that collecting test names is not necessary for this operation.

Reviewed by Adam Barth.

* Scripts/webkitpy/tool/commands/expectations.py: Changed to pass an empty list of test files.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (92402 => 92403)


--- trunk/Tools/ChangeLog	2011-08-04 19:42:31 UTC (rev 92402)
+++ trunk/Tools/ChangeLog	2011-08-04 20:04:03 UTC (rev 92403)
@@ -1,3 +1,14 @@
+2011-08-04  Dimitri Glazkov  <[email protected]>
+
+        Speed up webkit-patch optimize-expectations significantly by not collecting test files.
+        https://bugs.webkit.org/show_bug.cgi?id=65697
+
+        I neglected to realize that collecting test names is not necessary for this operation.
+
+        Reviewed by Adam Barth.
+
+        * Scripts/webkitpy/tool/commands/expectations.py: Changed to pass an empty list of test files.
+
 2011-08-04  Adam Barth  <[email protected]>
 
         checkout_unittest.js should have better coverage of checkout.js

Modified: trunk/Tools/Scripts/webkitpy/tool/commands/expectations.py (92402 => 92403)


--- trunk/Tools/Scripts/webkitpy/tool/commands/expectations.py	2011-08-04 19:42:31 UTC (rev 92402)
+++ trunk/Tools/Scripts/webkitpy/tool/commands/expectations.py	2011-08-04 20:04:03 UTC (rev 92403)
@@ -39,7 +39,7 @@
     def execute(self, options, args, tool):
         port = factory.get("chromium-win-win7")  # FIXME: This should be selectable.
         expectation_lines = TestExpectationParser.tokenize_list(port.test_expectations())
-        parser = TestExpectationParser(port, port.tests(["."]), allow_rebaseline_modifier=False)
+        parser = TestExpectationParser(port, [], allow_rebaseline_modifier=False)
         for expectation_line in expectation_lines:
             parser.parse(expectation_line)
         converter = TestConfigurationConverter(port.all_test_configurations(), port.configuration_specifier_macros())
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to