aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test
diff options
context:
space:
mode:
authorGravatar Irina Iancu <elenairina@google.com>2016-12-05 12:56:46 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-12-05 13:54:47 +0000
commit080c46cbf9a8dd821b10c61d4e8ca643662f0c91 (patch)
treeeea73d8cc6b4525736669e7de3d0a3271b9897d9 /src/test
parent24d885341da107fcf620964adcbe77258d2f183e (diff)
Add instructions regarding running android_integration_test.
-- PiperOrigin-RevId: 141039788 MOS_MIGRATED_REVID=141039788
Diffstat (limited to 'src/test')
-rwxr-xr-xsrc/test/shell/bazel/android/android_integration_test.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/shell/bazel/android/android_integration_test.sh b/src/test/shell/bazel/android/android_integration_test.sh
index 4f819ba1be..466f78776a 100755
--- a/src/test/shell/bazel/android/android_integration_test.sh
+++ b/src/test/shell/bazel/android/android_integration_test.sh
@@ -14,6 +14,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# For this tests to run do the following:
+# 1. Uncomment the 2 lines regarding android integration tests in the WORKSPACE
+# file.
+# 2. Set the environment variables ANDROID_HOME and ANDROID_NDK accordingly to
+# your Android SDK and NDK home directories.
+# 3. Run scripts/workspace_user.sh.
+#
+# Note that if the environment is not set up as above android_integration_test
+# will silently be ignored and will be shown as passing.
+
# Load the test setup defined in the parent directory
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${CURRENT_DIR}/../../integration_test_setup.sh" \