diff options
Diffstat (limited to 'test/etc/run-test-jar')
-rwxr-xr-x | test/etc/run-test-jar | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/etc/run-test-jar b/test/etc/run-test-jar index f64756b..ee40ee8 100755 --- a/test/etc/run-test-jar +++ b/test/etc/run-test-jar @@ -26,6 +26,7 @@ GDB_SERVER="gdbserver" HAVE_IMAGE="y" HOST="n" INTERPRETER="n" +JIT="n" INVOKE_WITH="" ISA=x86 LIBRARY_DIRECTORY="lib" @@ -127,6 +128,9 @@ while true; do elif [ "x$1" = "x--interpreter" ]; then INTERPRETER="y" shift + elif [ "x$1" = "x--jit" ]; then + JIT="y" + shift elif [ "x$1" = "x--jvm" ]; then USE_JVM="y" shift @@ -260,6 +264,16 @@ if [ "$INTERPRETER" = "y" ]; then fi fi +if [ "$JIT" = "y" ]; then + INT_OPTS="-Xjit" + if [ "$VERIFY" = "y" ] ; then + COMPILE_FLAGS="${COMPILE_FLAGS} --compiler-filter=interpret-only" + else + COMPILE_FLAGS="${COMPILE_FLAGS} --compiler-filter=verify-none" + DEX_VERIFY="${DEX_VERIFY} -Xverify:none" + fi +fi + JNI_OPTS="-Xjnigreflimit:512 -Xcheck:jni" if [ "$RELOCATE" = "y" ]; then |