OSDN Git Service

Use interpret-only instead of verify-at-runtime when testing JIT
authorCalin Juravle <calin@google.com>
Tue, 20 Dec 2016 14:00:48 +0000 (14:00 +0000)
committerCalin Juravle <calin@google.com>
Tue, 20 Dec 2016 16:15:01 +0000 (16:15 +0000)
That's because we run most of our products with interpret-only and not
verify-at-runtime.

Test: ART_TEST_JIT=true m test-art-host
Change-Id: I5a75f5c47a9e811db3ee7c3475a03fb648dba80d

test/etc/run-test-jar

index f0abb44..f395866 100755 (executable)
@@ -369,8 +369,8 @@ fi
 if [ "$JIT" = "y" ]; then
     INT_OPTS="-Xusejit:true"
     if [ "$VERIFY" = "y" ] ; then
-      INT_OPTS="${INT_OPTS} -Xcompiler-option --compiler-filter=verify-at-runtime"
-      COMPILE_FLAGS="${COMPILE_FLAGS} --compiler-filter=verify-at-runtime"
+      INT_OPTS="${INT_OPTS} -Xcompiler-option --compiler-filter=interpret-only"
+      COMPILE_FLAGS="${COMPILE_FLAGS} --compiler-filter=interpret-only"
     else
       INT_OPTS="${INT_OPTS} -Xcompiler-option --compiler-filter=verify-none"
       COMPILE_FLAGS="${COMPILE_FLAGS} --compiler-filter=verify-none"