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

Unified Diff: third_party/WebKit/Tools/Scripts/update-test-expectations

Issue 2119303003: Create the harness and shell of update_test_expectations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@updateTestExpectations1
Patch Set: Create the harness and shell of update_test_expectations Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/update-test-expectations
diff --git a/third_party/WebKit/Tools/Scripts/update-test-expectations b/third_party/WebKit/Tools/Scripts/update-test-expectations
new file mode 100755
index 0000000000000000000000000000000000000000..960f863e881a5956febe1712020dad17c88f63d5
--- /dev/null
+++ b/third_party/WebKit/Tools/Scripts/update-test-expectations
@@ -0,0 +1,14 @@
+#!/usr/bin/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.layout_tests import update_test_expectations
+from webkitpy.layout_tests.layout_package.bot_test_expectations import BotTestExpectationsFactory
+
+_host = host.Host()
+update_test_expectations.main(_host, BotTestExpectationsFactory(_host.builders), sys.argv[1:])
Dirk Pranke 2016/07/06 21:51:44 Lines 13-14 should be wrapped in an if __name__
bokan 2016/07/07 22:08:31 Done.

Powered by Google App Engine
This is Rietveld 408576698