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

Side by Side Diff: webkit/tools/layout_tests/run_webkit_tests.py

Issue 6015002: Rename WebKitTools->Tools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Wrapper around 6 """Wrapper around
7 third_party/WebKit/WebKitTools/Scripts/new-run-webkit-tests""" 7 third_party/WebKit/Tools/Scripts/new-run-webkit-tests"""
8 import os 8 import os
9 import subprocess 9 import subprocess
10 import sys 10 import sys
11 11
12 def main(): 12 def main():
13 cmd = [sys.executable] 13 cmd = [sys.executable]
14 src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..', '..')) 14 src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..', '..'))
15 script_dir=os.path.join(src_dir, "third_party", "WebKit", "WebKitTools", 15 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
16 "Scripts") 16 "Scripts")
17 script = os.path.join(script_dir, 'new-run-webkit-tests') 17 script = os.path.join(script_dir, 'new-run-webkit-tests')
18 cmd.append(script) 18 cmd.append(script)
19 if '--chromium' not in sys.argv: 19 if '--chromium' not in sys.argv:
20 cmd.append('--chromium') 20 cmd.append('--chromium')
21 cmd.extend(sys.argv[1:]) 21 cmd.extend(sys.argv[1:])
22 return subprocess.call(cmd) 22 return subprocess.call(cmd)
23 23
24 if __name__ == '__main__': 24 if __name__ == '__main__':
25 sys.exit(main()) 25 sys.exit(main())
26
OLDNEW
« no previous file with comments | « webkit/tools/layout_tests/run_http_server.py ('k') | webkit/tools/layout_tests/webkitpy/layout_tests/expectations_line.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698