| OLD | NEW |
| 1 #!/bin/bash -ex | 1 #!/bin/bash -ex |
| 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 # Buildbot annotator script for trybots. Compile and test. | 6 # Buildbot annotator script for trybots. Compile and test. |
| 7 | 7 |
| 8 BB_SRC_ROOT="$(cd "$(dirname $0)/../.."; pwd)" | 8 BB_DIR="$(dirname $0)" |
| 9 . "${BB_SRC_ROOT}/build/android/buildbot_functions.sh" | 9 BB_SRC_ROOT="$(cd "$BB_DIR/../../.."; pwd)" |
| 10 . "$BB_DIR/buildbot_functions.sh" |
| 10 | 11 |
| 11 # SHERIFF: if you need to quickly turn "android_test" trybots green, | 12 # SHERIFF: if you need to quickly turn "android_test" trybots green, |
| 12 # uncomment the next line (and send appropriate email out): | 13 # uncomment the next line (and send appropriate email out): |
| 13 ## bb_force_bot_green_and_exit | 14 ## bb_force_bot_green_and_exit |
| 14 | 15 |
| 15 bb_baseline_setup "$BB_SRC_ROOT" "$@" | 16 bb_baseline_setup "$BB_SRC_ROOT" "$@" |
| 16 bb_compile | 17 bb_compile |
| 17 bb_reboot_phones | 18 bb_reboot_phones |
| 18 bb_run_unit_tests | 19 bb_run_unit_tests |
| 19 bb_run_instrumentation_tests | 20 bb_run_instrumentation_tests |
| OLD | NEW |