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

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

Issue 2346163005: Remove package root target and support scripts (Closed)
Patch Set: Created 4 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
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | tools/dartium/build.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 bash 1 #!/usr/bin/env bash
2 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 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 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. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 # This script is meant to be run inside the src directory of a Dartium 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. 7 # (or Chromium) checkout, with android_tools installed in third_party.
8 # It expects ContentShell to have been built for ARM android, using the 8 # It expects ContentShell to have been built for ARM android, using the
9 # ninja build system. 9 # ninja build system.
10 # It expects one or more android devices to be connected by USB to the machine. 10 # It expects one or more android devices to be connected by USB to the machine.
11 set -v 11 set -v
12 set -x 12 set -x
13 cd src 13 cd src
14 ninja -C out/Release forwarder2 14 ninja -C out/Release forwarder2
15 ninja -C out/Release pkg_packages
16 cp -R out/Release/packages out/ReleaseARM
17 export PATH=$PATH:third_party/android_tools/sdk/platform-tools/\ 15 export PATH=$PATH:third_party/android_tools/sdk/platform-tools/\
18 :third_party/android_tools/sdk/tools/ 16 :third_party/android_tools/sdk/tools/
19 17
20 ./build/android/adb_reverse_forwarder.py --all-devices \ 18 ./build/android/adb_reverse_forwarder.py --all-devices \
21 8081 8081 8082 8082 8083 8083 8084 8084 & 19 8081 8081 8082 8082 8083 8083 8084 8084 &
22 FORWARDER_PID=$! 20 FORWARDER_PID=$!
23 sleep 15 21 sleep 15
24 ./dart/tools/test.py -m release -a arm --progress=line --report --time \ 22 ./dart/tools/test.py -m release -a arm --progress=line --report --time \
25 --failure-summary --write-debug-log --local_ip=localhost \ 23 --failure-summary --write-debug-log --local_ip=localhost \
26 --test_server_port=8083 --test_server_cross_origin_port=8084 \ 24 --test_server_port=8083 --test_server_cross_origin_port=8084 \
27 --test_driver_port=8081 --test_driver_error_port=8082 \ 25 --test_driver_port=8081 --test_driver_error_port=8082 \
28 -r ContentShellOnAndroid --drt=$1 26 -r ContentShellOnAndroid --drt=$1
29 EXIT_CODE=$? 27 EXIT_CODE=$?
30 kill -9 $FORWARDER_PID 28 kill -9 $FORWARDER_PID
31 exit $EXIT_CODE 29 exit $EXIT_CODE
OLDNEW
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | tools/dartium/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698