Title: [129057] trunk
- Revision
- 129057
- Author
- dpra...@chromium.org
- Date
- 2012-09-19 16:00:37 -0700 (Wed, 19 Sep 2012)
Log Message
nrwt: convert chromium TestExpectations to the new syntax
https://bugs.webkit.org/show_bug.cgi?id=97139
Tools:
Reviewed by Ryosuke Niwa.
Add in a file temporarily that does the conversion of
test expectations formats
* Tools/Scripts/convert-test-expectations: Added.
LayoutTests:
Reviewed by Ryosuke Niwa.
This does a wholesale change of the file from
BUGS MODIFIERS : test = EXPECTATIONS
to
Bugs [ Modifiers] test [ Expectations ]
as per the new syntax.
* platform/chromium/TestExpectations:
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (129056 => 129057)
--- trunk/LayoutTests/ChangeLog 2012-09-19 22:53:20 UTC (rev 129056)
+++ trunk/LayoutTests/ChangeLog 2012-09-19 23:00:37 UTC (rev 129057)
@@ -1,3 +1,22 @@
+2012-09-19 Dirk Pranke <dpra...@chromium.org>
+
+ nrwt: convert chromium TestExpectations to the new syntax
+ https://bugs.webkit.org/show_bug.cgi?id=97139
+
+ Reviewed by Ryosuke Niwa.
+
+ This does a wholesale change of the file from
+
+ BUGS MODIFIERS : test = EXPECTATIONS
+
+ to
+
+ Bugs [ Modifiers] test [ Expectations ]
+
+ as per the new syntax.
+
+ * platform/chromium/TestExpectations:
+
2012-09-19 Joshua Bell <jsb...@chromium.org>
Unreviewed - remove debugging code from a pair of tests.
Modified: trunk/Tools/ChangeLog (129056 => 129057)
--- trunk/Tools/ChangeLog 2012-09-19 22:53:20 UTC (rev 129056)
+++ trunk/Tools/ChangeLog 2012-09-19 23:00:37 UTC (rev 129057)
@@ -1,3 +1,15 @@
+2012-09-19 Dirk Pranke <dpra...@chromium.org>
+
+ nrwt: convert chromium TestExpectations to the new syntax
+ https://bugs.webkit.org/show_bug.cgi?id=97139
+
+ Reviewed by Ryosuke Niwa.
+
+ Add in a file temporarily that does the conversion of
+ test expectations formats
+
+ * Tools/Scripts/convert-test-expectations: Added.
+
2012-09-19 Ryosuke Niwa <rn...@webkit.org>
REGRESSION: run-perf-tests no longer reports the total test time
Added: trunk/Tools/Scripts/convert-test-expectations (0 => 129057)
--- trunk/Tools/Scripts/convert-test-expectations (rev 0)
+++ trunk/Tools/Scripts/convert-test-expectations 2012-09-19 23:00:37 UTC (rev 129057)
@@ -0,0 +1,17 @@
+#!/usr/bin/python
+
+import sys
+
+from webkitpy.common.host import Host
+from webkitpy.layout_tests.models.test_expectations import TestExpectationParser
+
+host = Host()
+port = host.port_factory.get(sys.argv[1])
+filename = sys.argv[2]
+contents = host.filesystem.read_text_file(filename)
+
+parser = TestExpectationParser(port, [], False)
+expectation_lines = parser.parse(filename, contents)
+for line in expectation_lines:
+ new_line = line.to_string(parser._test_configuration_converter)
+ print new_line
Property changes on: trunk/Tools/Scripts/convert-test-expectations
___________________________________________________________________
Added: svn:executable
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes