diff options
Diffstat (limited to 'binary_search_tool/ndk/test_setup.sh')
-rwxr-xr-x | binary_search_tool/ndk/test_setup.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/binary_search_tool/ndk/test_setup.sh b/binary_search_tool/ndk/test_setup.sh new file mode 100755 index 00000000..477bcb21 --- /dev/null +++ b/binary_search_tool/ndk/test_setup.sh @@ -0,0 +1,27 @@ +#!/bin/bash +# +# Copyright 2016 Google Inc. All Rights Reserved. +# +# This is the setup script for generating and installing the ndk app. +# +# This script is intended to be used by binary_search_state.py, as +# part of the binary search triage on the Android source tree. It should +# return '0' if the setup succeeds; and '1' if the setup fails (the image +# could not build or be flashed). +# + +echo +echo "INSTALLATION BEGIN" +echo + +# This normally shouldn't be hardcoded, but this is a sample bisection. +# Also keep in mind that the bisection tool mandates all paths are +# relative to binary_search_state.py +cd ndk/Teapot + +echo "BUILDING APP" + +./gradlew installArm7Debug +gradle_status=$? + +exit ${gradle_status} |