blob: e50a32b19eef34e4aae5fb38b173b168425662ba [file] [log] [blame]
#!/bin/bash -ex
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Buildbot annotator script for the fyi waterfall and fyi trybots.
# Downloads and extracts a build from the builder and runs tests.
BB_DIR="$(dirname $0)"
BB_SRC_ROOT="$(cd "$BB_DIR/../../.."; pwd)"
. "$BB_DIR/buildbot_functions.sh"
bb_baseline_setup "$BB_SRC_ROOT" "$@"
bb_spawn_logcat_monitor_and_status
bb_extract_build
bb_reboot_phones
bb_run_unit_tests
bb_run_instrumentation_tests
bb_run_experimental_unit_tests
bb_run_experimental_instrumentation_tests
bb_print_logcat