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

Unified Diff: tools/bots/dartium_android.py

Issue 200193004: Add ContentShell tests to dartium android builder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase, fix error. Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/bots/run_android_tests.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/dartium_android.py
diff --git a/tools/bots/dartium_android.py b/tools/bots/dartium_android.py
index 980fb8f791ffe0b1d0825118dc98ff9fcb047b5a..e10afd5cb58b56870a030d3180a4eb6651a6da67 100644
--- a/tools/bots/dartium_android.py
+++ b/tools/bots/dartium_android.py
@@ -14,6 +14,7 @@ Dart and chromium tests on it.
import optparse
import os
import string
+import subprocess
import sys
import bot
@@ -55,6 +56,13 @@ def UploadAPKs(options):
UploadSetACL(gsutil, local, remote)
print "Uploaded content shell, available from: %s" % content_shell_link
+
+def RunContentShellTests(options):
+ with bot.BuildStep('ContentShell tests'):
+ subprocess.check_call([os.path.join(SCRIPT_DIR, 'run_android_tests.sh'),
+ os.path.join(options.build_products_dir, CS_LOCATION)])
+
+
def main():
if sys.platform != 'linux2':
print "This script was only tested on linux. Please run it on linux!"
@@ -68,6 +76,7 @@ def main():
sys.exit(1)
UploadAPKs(options)
+ RunContentShellTests(options)
sys.exit(0)
if __name__ == '__main__':
« no previous file with comments | « no previous file | tools/bots/run_android_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698