diff options
author | Andreas Gampe <agampe@google.com> | 2014-07-25 02:32:19 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-07-26 18:35:08 -0700 |
commit | 855564b83db7b106d2995d0e784f1f4b62e52371 (patch) | |
tree | de3caa3f36b24acb9279a8cb85d4879baeed1798 /test/etc | |
parent | 3bcac48f23094fa0f46315a080ec47fc368fd4c2 (diff) | |
download | art-855564b83db7b106d2995d0e784f1f4b62e52371.zip art-855564b83db7b106d2995d0e784f1f4b62e52371.tar.gz art-855564b83db7b106d2995d0e784f1f4b62e52371.tar.bz2 |
ART: Native bridge command-line parameter
Add a command-line parameter for the native bridge library, slight
refactor/cleanup.
Add run-test 115 to test the native bridge interface. Currently the
tests are black-listed for the target, as the setup for the test
is too complicated in the current infrastructure.
Change-Id: I6ccf19485e8c30b96e9f2fd5425278cb1ebd403f
Diffstat (limited to 'test/etc')
-rwxr-xr-x | test/etc/host-run-test-jar | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/etc/host-run-test-jar b/test/etc/host-run-test-jar index d72e997..2241f85 100755 --- a/test/etc/host-run-test-jar +++ b/test/etc/host-run-test-jar @@ -24,6 +24,7 @@ FLAGS="" COMPILER_FLAGS="" BUILD_BOOT_OPT="" exe="${ANDROID_HOST_OUT}/bin/dalvikvm32" +main="Main" while true; do if [ "x$1" = "x--quiet" ]; then @@ -112,6 +113,12 @@ while true; do fi done +if [ "x$1" = "x" ] ; then + main="Main" +else + main="$1" +fi + msg "------------------------------" export ANDROID_PRINTF_LOG=brief @@ -171,7 +178,7 @@ else fi JNI_OPTS="-Xjnigreflimit:512 -Xcheck:jni" -cmdline="$INVOKE_WITH $gdb $exe $gdbargs -XXlib:$LIB $JNI_OPTS $FLAGS $INT_OPTS $DEBUGGER_OPTS $BOOT_OPT -cp $DEX_LOCATION/$TEST_NAME.jar Main" +cmdline="$INVOKE_WITH $gdb $exe $gdbargs -XXlib:$LIB $JNI_OPTS $FLAGS $INT_OPTS $DEBUGGER_OPTS $BOOT_OPT -cp $DEX_LOCATION/$TEST_NAME.jar $main" if [ "$DEV_MODE" = "y" ]; then if [ "$PREBUILD" = "y" ]; then echo "$mkdir_cmd && $prebuild_cmd && $cmdline" |