summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/run-jdwp-tests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/run-jdwp-tests.sh b/tools/run-jdwp-tests.sh
index db8c54056d..f5fbcd8def 100755
--- a/tools/run-jdwp-tests.sh
+++ b/tools/run-jdwp-tests.sh
@@ -284,8 +284,10 @@ fi
if [[ $using_jack == "true" ]]; then
toolchain_args="--toolchain jack --language JN --jack-arg -g"
-else
+elif [[ $mode != "ri" ]]; then
toolchain_args="--toolchain dx --language CUR"
+else
+ toolchain_args="--toolchain javac --language CUR"
fi
# Run the tests using vogar.