summaryrefslogtreecommitdiff
path: root/test/run-test
diff options
context:
space:
mode:
Diffstat (limited to 'test/run-test')
-rwxr-xr-xtest/run-test9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/run-test b/test/run-test
index 75fe15c919..6bcb9cdabb 100755
--- a/test/run-test
+++ b/test/run-test
@@ -113,6 +113,12 @@ if [ -z "$ZIPALIGN" ]; then
fi
export ZIPALIGN
+# If hiddenapi was not set by the environment variable, assume it is in
+# ANDROID_HOST_OUT.
+if [ -z "$HIDDENAPI" ]; then
+ export HIDDENAPI="${ANDROID_HOST_OUT}/bin/hiddenapi"
+fi
+
info="info.txt"
build="build"
run="run"
@@ -421,6 +427,9 @@ while true; do
elif [ "x$1" = "x--vdex" ]; then
run_args="${run_args} --vdex"
shift
+ elif [ "x$1" = "x--dm" ]; then
+ run_args="${run_args} --dm"
+ shift
elif [ "x$1" = "x--vdex-filter" ]; then
shift
filter=$1