| # Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file |
| # for details. All rights reserved. Use of this source code is governed by a |
| # BSD-style license that can be found in the LICENSE file. |
| # Helper script for tools/test_android_cts.py |
| readonly AOSP_PRESET="$1" |
| if [[ "$TASK" == "make" ]]; then |
| elif [[ "$TASK" == "emulator" ]]; then |
| elif [[ "$TASK" == "run-cts" ]]; then |
| adb shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82' |
| echo "Invalid task: '$TASK'" >&2 |