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

Side by Side Diff: tools/testing/webdriver_test_setup.py

Issue 10443036: Fix typo in webdriver test setup script. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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 | « tools/testing/perf_testing/run_perf_tests.py ('k') | no next file » | 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/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 # Run to install the necessary components to run webdriver on the buildbots or 7 # Run to install the necessary components to run webdriver on the buildbots or
8 # on your local machine. 8 # on your local machine.
9 # Note: The setup steps can be done fairly easily by hand. This script is 9 # Note: The setup steps can be done fairly easily by hand. This script is
10 # intended to simply and reduce the time for setup since there are a fair number 10 # intended to simply and reduce the time for setup since there are a fair number
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 break 234 break
235 page = urllib2.urlopen(self.SETUPTOOLS_SITE) 235 page = urllib2.urlopen(self.SETUPTOOLS_SITE)
236 run_cmd('%s %s' % (admin_keyword, python_cmd), page.read()) 236 run_cmd('%s %s' % (admin_keyword, python_cmd), page.read())
237 page = urllib2.urlopen(self.PIP_SITE) 237 page = urllib2.urlopen(self.PIP_SITE)
238 run_cmd('%s %s' % (admin_keyword, python_cmd), page.read()) 238 run_cmd('%s %s' % (admin_keyword, python_cmd), page.read())
239 run_cmd('%s %s install -U selenium' % (admin_keyword, pip_cmd)) 239 run_cmd('%s %s install -U selenium' % (admin_keyword, pip_cmd))
240 240
241 def main(): 241 def main():
242 args = parse_args() 242 args = parse_args()
243 SeleniumBindingsInstaller(args.buildbot).run() 243 SeleniumBindingsInstaller(args.buildbot).run()
244 GoogleCodeInstaller('chromedriver', ind_depot_tools_location(args.buildbot), 244 GoogleCodeInstaller('chromedriver', find_depot_tools_location(args.buildbot),
245 lambda x: 'chromedriver_%(os)s_%(version)s.zip' % x).run() 245 lambda x: 'chromedriver_%(os)s_%(version)s.zip' % x).run()
246 if 'win32' not in sys.platform and 'cygwin' not in sys.platform: 246 if 'win32' not in sys.platform and 'cygwin' not in sys.platform:
247 GoogleCodeInstaller('selenium', os.path.dirname(os.path.abspath(__file__)), 247 GoogleCodeInstaller('selenium', os.path.dirname(os.path.abspath(__file__)),
248 lambda x: 'selenium-server-standalone-%(version)s.jar' % x).run() 248 lambda x: 'selenium-server-standalone-%(version)s.jar' % x).run()
249 249
250 if args.firefox: 250 if args.firefox:
251 FirefoxInstaller().run() 251 FirefoxInstaller().run()
252 252
253 if __name__ == '__main__': 253 if __name__ == '__main__':
254 main() 254 main()
OLDNEW
« no previous file with comments | « tools/testing/perf_testing/run_perf_tests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698