Support running jdwp tests on RI and with alternate JDWP
Change the run-jdwp-tests.sh script so it can easily be used to run
our apache-harmony jdwp tests against the RI and to run them with
alternative JDWP implementations on all modes.
Test: ./art/tools/run-jdwp-tests.sh --mode=host
Test: ./art/tools/run-jdwp-tests.sh --mode=jvm
Test: ./art/tools/run-jdwp-tests.sh \
--mode=jvm \
--jdwp-path /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/libjdwp.so
Test: ./art/tools/run-jdwp-tests.sh \
--mode=host \
--debug \
--variant=x64 \
-Xplugin:$ANDROID_HOST_OUT/lib64/libopenjdkjvmtid.so \
--jdwp-path /usr/lib/jvm/default-java/jre/lib/amd64/libjdwp.so
Bug: 62821960
Change-Id: Ia28ba68232b6b9217f810cf0788355cf7f70b7ae
1 file changed