diff options
| -rwxr-xr-x | test/run-test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/run-test b/test/run-test index 75fe15c919..be8a5a63b8 100755 --- a/test/run-test +++ b/test/run-test @@ -520,10 +520,10 @@ elif [ "$trace_stream" = "true" ]; then 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 @@ fi 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 |