Index: third_party/WebKit/Tools/Scripts/update-w3c-test-expections |
diff --git a/third_party/WebKit/Tools/Scripts/update-w3c-test-expections b/third_party/WebKit/Tools/Scripts/update-w3c-test-expections |
new file mode 100755 |
index 0000000000000000000000000000000000000000..3bb94275c64f3a4e7c3c76029ef4ba5a9f0d8a7c |
--- /dev/null |
+++ b/third_party/WebKit/Tools/Scripts/update-w3c-test-expections |
@@ -0,0 +1,18 @@ |
+#!/usr/bin/env python |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import sys |
+ |
+from webkitpy.common import host |
+from webkitpy.common.checkout.scm.git import Git |
+from webkitpy.w3c.update_w3c_test_expectations import main |
+ |
+if __name__ == "__main__": |
+ _host = host.Host() |
+ _host._scm = Git('.') |
qyearsley
2016/07/18 22:55:28
It might also work if you call host.initialize_scm
|
+ _port = _host.port_factory.get() |
qyearsley
2016/07/18 22:55:28
No need to use underscores here, since these are l
|
+ return_code = main(_host, _port) |
+ |
+sys.exit(return_code) |