summaryrefslogtreecommitdiffstats
path: root/test/run-test
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-11-17 12:37:27 +0000
committerNarayan Kamath <narayan@google.com>2015-11-17 12:37:27 +0000
commitd50687efe56a0516e0df17f65e8fce43681b3c42 (patch)
tree94047e789847c4ae717bdc235db9c5e21c8327e4 /test/run-test
parent51147f2188e96be9260170452d7c624c4fa81727 (diff)
downloadart-d50687efe56a0516e0df17f65e8fce43681b3c42.tar.gz
art-d50687efe56a0516e0df17f65e8fce43681b3c42.tar.bz2
art-d50687efe56a0516e0df17f65e8fce43681b3c42.zip
Fix a few art-test related issues.
- Add core-oj to the list of sync targets. - Fix --no-image by setting the boot classpath properly. - Demonstrate T7-9 vision. Change-Id: I84b6afbbcf09a70c7afe6a35cb9782c86137db84
Diffstat (limited to 'test/run-test')
-rwxr-xr-xtest/run-test5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/run-test b/test/run-test
index 8410387f13..b9df1f51ed 100755
--- a/test/run-test
+++ b/test/run-test
@@ -93,7 +93,7 @@ fi
# If JACK_CLASSPATH is not set, assume it only contains core-libart.
if [ -z "$JACK_CLASSPATH" ]; then
- export JACK_CLASSPATH="$ANDROID_BUILD_TOP/out/host/common/obj/JAVA_LIBRARIES/core-libart-hostdex_intermediates/classes.jack"
+ export JACK_CLASSPATH="$ANDROID_BUILD_TOP/out/host/common/obj/JAVA_LIBRARIES/core-libart-hostdex_intermediates/classes.jack:$ANDROID_BUILD_TOP/out/host/common/obj/JAVA_LIBRARIES/core-oj-hostdex_intermediates/classes.jack:"
fi
# If JACK_JAR is not set, assume it is located in the prebuilts directory.
@@ -406,7 +406,7 @@ fi
if [ "$runtime" = "dalvik" ]; then
if [ "$target_mode" = "no" ]; then
framework="${ANDROID_PRODUCT_OUT}/system/framework"
- bpath="${framework}/core.jar:${framework}/conscrypt.jar:${framework}/okhttp.jar:${framework}/core-junit.jar:${framework}/bouncycastle.jar:${framework}/ext.jar"
+ bpath="${framework}/core-libart.jar:${framework}/core-oj.jar:${framework}/conscrypt.jar:${framework}/okhttp.jar:${framework}/core-junit.jar:${framework}/bouncycastle.jar:${framework}/ext.jar:"
run_args="${run_args} --boot -Xbootclasspath:${bpath}"
else
true # defaults to using target BOOTCLASSPATH
@@ -449,6 +449,7 @@ if [ "$have_image" = "no" ]; then
# TODO If the target was compiled WITH_DEXPREOPT=true then these tests will
# fail since these jar files will be stripped.
bpath="${framework}/core-libart${bpath_suffix}.jar"
+ bpath="${bpath}:${framework}/core-oj${bpath_suffix}.jar"
bpath="${bpath}:${framework}/conscrypt${bpath_suffix}.jar"
bpath="${bpath}:${framework}/okhttp${bpath_suffix}.jar"
bpath="${bpath}:${framework}/core-junit${bpath_suffix}.jar"