diff options
Diffstat (limited to 'test/run-test')
-rwxr-xr-x | test/run-test | 5 |
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" |