summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2015-03-30 16:34:16 +0100
committerNicolas Geoffray <ngeoffray@google.com>2015-03-30 18:14:46 +0100
commit59786908b5d5db703bf7b5afd91f546e7b190559 (patch)
treed33685994d0a4f2b5054090acfacc185f71d0b52 /tools
parent392351a8aa9c6aec288050ef3f1f5471305b27c1 (diff)
downloadart-59786908b5d5db703bf7b5afd91f546e7b190559.zip
art-59786908b5d5db703bf7b5afd91f546e7b190559.tar.gz
art-59786908b5d5db703bf7b5afd91f546e7b190559.tar.bz2
On host, say the debuggee needs to be run through bash.
Change-Id: I2cf7d3123e9d184f40cbaf49f8ac69e1481cc7a4
Diffstat (limited to 'tools')
-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 7d3030e..d63b92f 100755
--- a/tools/run-jdwp-tests.sh
+++ b/tools/run-jdwp-tests.sh
@@ -46,7 +46,9 @@ vm_command="--vm-command=$art"
while true; do
if [[ "$1" == "--mode=host" ]]; then
- art="art"
+ # Specify bash explicitly since the art script cannot, since it has to run on the device
+ # with mksh.
+ art="bash out/host/linux-x86/bin/art"
# We force generation of a new image to avoid build-time and run-time classpath differences.
image="-Ximage:/system/non/existent"
# We do not need a device directory on host.