Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
|
ricow1
2014/03/14 13:17:17
I thought you where doing a shell script because y
| |
| 12 set -x | |
| 13 ninja -C out/Release forwarder2 | |
| 14 ninja -C out/Release pkg_packages | |
| 15 cp -R out/Release/packages out/ReleaseARM/packages | |
| 16 export PATH=$PATH:third_party/android_tools/sdk/platform-tools/\ | |
| 17 :third_party/android_tools/sdk/tools/ | |
| 18 | |
| 19 adb uninstall org.chromium.content_shell_apk | |
| 20 adb install -r $1 | |
| 21 ./build/android/adb_reverse_forwarder.py 8081 8081 8082 8082 \ | |
| 22 8083 8083 8084 8084 & | |
|
kustermann
2014/03/14 13:34:09
Are we leaking these adb_reverse_forwarder.py proc
| |
| 23 sleep 15 | |
| 24 ./dart/tools/test.py -m release -a arm --progress=line --report --time \ | |
| 25 --failure-summary --write-debug-log --local_ip=localhost \ | |
| 26 --test_server_port=8083 --test_server_cross_origin_port=8084 \ | |
| 27 --test_driver_port=8081 --test_driver_error_port=8082 \ | |
| 28 -r ContentShellOnAndroid | |
| OLD | NEW |