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

Side by Side 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 script to pass in Host object to main use its attributes 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 unified diff | Download patch
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 import sys
7
8 from webkitpy.common import host
9 from webkitpy.common.checkout.scm.git import Git
10 from webkitpy.w3c.update_w3c_test_expectations import main
11
12 if __name__ == "__main__":
13 _host = host.Host()
14 _host._scm = Git('.')
qyearsley 2016/07/18 22:55:28 It might also work if you call host.initialize_scm
15 _port = _host.port_factory.get()
qyearsley 2016/07/18 22:55:28 No need to use underscores here, since these are l
16 return_code = main(_host, _port)
17
18 sys.exit(return_code)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698