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

Side by Side Diff: tools/bots/run_android_tests.sh

Issue 200193004: Add ContentShell tests to dartium android builder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix directory Created 6 years, 9 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
« tools/bots/dartium_android.py ('K') | « tools/bots/dartium_android.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
(Empty)
1 #!/bin/bash
2 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
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 # This script is meant to be run inside the src directory of a Dartium
7 # (or Chromium) checkout, with android_tools installed in third_party.
8 # It expects ContentShell to have been build for ARM android, using the
9 # ninja build system.
10 # It expects a single android device to be connected by USB to the machine.
11 set -v
12 set -x
13 cd src
14 ninja -C out/Release forwarder2
15 ninja -C out/Release pkg_packages
16 cp -R out/Release/packages out/ReleaseARM/packages
17 export PATH=$PATH:third_party/android_tools/sdk/platform-tools/\
18 :third_party/android_tools/sdk/tools/
19
20 adb uninstall org.chromium.content_shell_apk
21 adb install -r $1
22 ./build/android/adb_reverse_forwarder.py 8081 8081 8082 8082 \
23 8083 8083 8084 8084 &
24 FORWARDER_PID = $!
25 sleep 15
26 ./dart/tools/test.py -m release -a arm --progress=line --report --time \
27 --failure-summary --write-debug-log --local_ip=localhost \
28 --test_server_port=8083 --test_server_cross_origin_port=8084 \
29 --test_driver_port=8081 --test_driver_error_port=8082 \
30 -r ContentShellOnAndroid
31 EXIT_CODE=$?
32 kill -9 $FORWARDER_PID
33 exit $EXIT_CODE
OLDNEW
« tools/bots/dartium_android.py ('K') | « tools/bots/dartium_android.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698