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

Unified Diff: third_party/WebKit/Tools/Scripts/update-w3c-test-expections

Issue 2136723002: Create test expectations line automatically from failing test results (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored unittests 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-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..f36c8a2d3c5a4a071dd4b2b4c3c09c4fed05f7bf
--- /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.initialize_scm()
+ port = host.port_factory.get()
+ return_code = main(host, port)
+
+sys.exit(return_code)
Dirk Pranke 2016/08/09 03:59:39 this line probably should've been combined with li
dcampb 2016/08/09 18:10:44 What do you mean by eval'ed directly?? I'm a littl
Dirk Pranke 2016/08/09 18:35:04 Good question, I wasn't super clear here ... I'm t
dcampb 2016/08/09 18:49:50 So should I unindent the block and remove the 'if

Powered by Google App Engine
This is Rietveld 408576698