OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # | 5 # |
6 # Bash functions used by buildbot annotator scripts for the android | 6 # Bash functions used by buildbot annotator scripts for the android |
7 # build of chromium. Executing this script should not perform actions | 7 # build of chromium. Executing this script should not perform actions |
8 # other than setting variables and defining of functions. | 8 # other than setting variables and defining of functions. |
9 | 9 |
10 # Number of jobs on the compile line; e.g. make -j"${JOBS}" | 10 # Number of jobs on the compile line; e.g. make -j"${JOBS}" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 } | 93 } |
94 | 94 |
95 # Run tests on an emulator. | 95 # Run tests on an emulator. |
96 function bb_run_tests_emulator { | 96 function bb_run_tests_emulator { |
97 echo "@@@BUILD_STEP Run Tests on an Emulator@@@" | 97 echo "@@@BUILD_STEP Run Tests on an Emulator@@@" |
98 build/android/run_tests.py -e --xvfb --verbose | 98 build/android/run_tests.py -e --xvfb --verbose |
99 } | 99 } |
100 | 100 |
101 # Run tests on an actual device. (Better have one plugged in!) | 101 # Run tests on an actual device. (Better have one plugged in!) |
102 function bb_run_tests { | 102 function bb_run_tests { |
103 echo "@@@BUILD_STEP Run Tests on an Emulator@@@" | 103 echo "@@@BUILD_STEP Run Tests on actual hardware@@@" |
104 build/android/run_tests.py --xvfb --verbose | 104 build/android/run_tests.py --xvfb --verbose |
105 } | 105 } |
OLD | NEW |