Rename ANDROID_PRODUCT_OUT -> PRODUCT_OUT.
Change-Id: I95cb69931b9d18e26ccd75ff59d9c5d1a11a2764
diff --git a/test/run-test b/test/run-test
index 75fe15c..be8a5a6 100755
--- a/test/run-test
+++ b/test/run-test
@@ -520,10 +520,10 @@
fi
# Most interesting target architecture variables are Makefile variables, not environment variables.
-# Try to map the suffix64 flag and what we find in ${ANDROID_PRODUCT_OUT}/data/art-test to an architecture name.
+# Try to map the suffix64 flag and what we find in ${PRODUCT_OUT}/data/art-test to an architecture name.
function guess_target_arch_name() {
- grep32bit=`ls ${ANDROID_PRODUCT_OUT}/data/art-test | grep -E '^(arm|x86|mips)$'`
- grep64bit=`ls ${ANDROID_PRODUCT_OUT}/data/art-test | grep -E '^(arm64|x86_64|mips64)$'`
+ grep32bit=`ls ${PRODUCT_OUT}/data/art-test | grep -E '^(arm|x86|mips)$'`
+ grep64bit=`ls ${PRODUCT_OUT}/data/art-test | grep -E '^(arm64|x86_64|mips64)$'`
if [ "x${suffix64}" = "x64" ]; then
target_arch_name=${grep64bit}
else
@@ -562,7 +562,7 @@
if [ "$runtime" = "dalvik" ]; then
if [ "$target_mode" = "no" ]; then
- framework="${ANDROID_PRODUCT_OUT}/system/framework"
+ framework="${PRODUCT_OUT}/system/framework"
bpath="${framework}/core-libart.jar:${framework}/core-oj.jar:${framework}/conscrypt.jar:${framework}/okhttp.jar:${framework}/bouncycastle.jar:${framework}/ext.jar"
run_args="${run_args} --boot --runtime-option -Xbootclasspath:${bpath}"
else