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

Side by Side Diff: blink/tools/run_layout_tests.py

Issue 629083002: Move run_webkit_tests.* script into their new home. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add OWNERS back Created 6 years, 2 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
« no previous file with comments | « blink/tools/run_layout_tests.bat ('k') | blink/tools/run_layout_tests.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/Tools/Scripts/run-webkit-tests""" 7 third_party/WebKit/Tools/Scripts/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 src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..', '..')) 13 src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..'))
14 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools", 14 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
15 "Scripts") 15 "Scripts")
16 script = os.path.join(script_dir, 'run-webkit-tests') 16 script = os.path.join(script_dir, 'run-webkit-tests')
17 cmd = [sys.executable, script] + sys.argv[1:] 17 cmd = [sys.executable, script] + sys.argv[1:]
18 return subprocess.call(cmd) 18 return subprocess.call(cmd)
19 19
20 if __name__ == '__main__': 20 if __name__ == '__main__':
21 sys.exit(main()) 21 sys.exit(main())
OLDNEW
« no previous file with comments | « blink/tools/run_layout_tests.bat ('k') | blink/tools/run_layout_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698