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

Side by Side Diff: scripts/slave/get_swarm_results.py

Issue 23176003: Create proper wrapper scripts to decouple from swarm_client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Had forgot to append _shim to one comment Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « scripts/master/factory/swarm_commands.py ('k') | scripts/slave/swarming/get_swarm_results.py » ('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) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 # TODO(maruel): Remove once the masters are restarted to use the version in 6 # TODO(maruel): Remove once the masters are restarted to use the version in
7 # swarming/ 7 # swarming/
8 8
9 import os 9 import os
10 import subprocess 10 import subprocess
11 import sys 11 import sys
12 12
13 BASE_DIR = os.path.dirname(os.path.abspath(__file__)) 13 BASE_DIR = os.path.dirname(os.path.abspath(__file__))
14 14
15 15
16 def main(): 16 def main():
17 cmd = [ 17 cmd = [
18 sys.executable, 18 sys.executable,
19 os.path.join(BASE_DIR, 'swarming', 'get_swarm_results.py') 19 os.path.join(BASE_DIR, 'swarming', 'get_swarm_results_shim.py')
20 ] + sys.argv[1:] 20 ] + sys.argv[1:]
21 return subprocess.call(cmd) 21 return subprocess.call(cmd)
22 22
23 23
24 if __name__ == '__main__': 24 if __name__ == '__main__':
25 sys.exit(main()) 25 sys.exit(main())
OLDNEW
« no previous file with comments | « scripts/master/factory/swarm_commands.py ('k') | scripts/slave/swarming/get_swarm_results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698