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

Side by Side Diff: tools/bots/dartium_android.py

Issue 137623008: Add testing script to test Dartium on Android devices. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Flesh out testing script. Created 6 years, 11 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 | « no previous file | 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
(Empty)
1 #!/usr/bin/python
2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
ricow1 2014/01/26 14:28:34 2014
3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file.
5
6 """
7 Dartium on Android buildbot steps.
8
9 Runs steps after the buildbot builds Dartium on Android,
10 which should upload the APK to an attached device, and run
11 Dart and chromium tests on it.
12 """
13
14 import sys
15 import optparse
16
17 def GetOptionsParser():
18 parser = optparse.OptionParser("usage: %prog [options]")
19 parser.add_option("--build-products-dir",
20 help="The directory containing the products of the build.")
21 return parser
22
23 def main():
24 if sys.platform != 'linux2':
25 print "This script was only tested on linux. Please run it on linux!"
26 sys.exit(1)
27
28 parser = GetOptionsParser()
29 (options, args) = parser.parse_args()
30
31 if not options.build_products_dir:
32 die("No build products directory given.")
33 sys.exit(0)
34
35 if __name__ == '__main__':
36 main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698