Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: Tools/Scripts/convert-test-expectations

Issue 25892005: Remove some unused scripts from Tools/Scripts/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Tools/Scripts/check-for-inappropriate-objc-class-names ('k') | Tools/Scripts/execAppWithEnv » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/python
2
3 # FIXME: Delete this file after all of the TestExpectations are converted.
4
5 import sys
6
7 from webkitpy.common.host import Host
8 from webkitpy.layout_tests.models.test_expectations import TestExpectationParser
9
10 host = Host()
11 port = host.port_factory.get(sys.argv[1])
12 filename = sys.argv[2]
13 contents = host.filesystem.read_text_file(filename)
14
15 parser = TestExpectationParser(port, [], False)
16 expectation_lines = parser.parse(filename, contents)
17 for line in expectation_lines:
18 new_line = line.to_string(parser._test_configuration_converter)
19 print new_line
OLDNEW
« no previous file with comments | « Tools/Scripts/check-for-inappropriate-objc-class-names ('k') | Tools/Scripts/execAppWithEnv » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698