Add missing adbOptions in runhat.
One of the adb commands in runhat was not using the adbOptions and would fail if specifying a single serial device with multiple connected devices. Change-Id: I804a6fccc51090cdc78dc2af76bbc0a24d843e3d
This commit is contained in:
@@ -1060,7 +1060,7 @@ function runhat()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# issue "am" command to cause the hprof dump
|
# issue "am" command to cause the hprof dump
|
||||||
local sdcard=$(adb shell echo -n '$EXTERNAL_STORAGE')
|
local sdcard=$(adb ${adbOptions} shell echo -n '$EXTERNAL_STORAGE')
|
||||||
local devFile=$sdcard/hprof-$targetPid
|
local devFile=$sdcard/hprof-$targetPid
|
||||||
#local devFile=/data/local/hprof-$targetPid
|
#local devFile=/data/local/hprof-$targetPid
|
||||||
echo "Poking $targetPid and waiting for data..."
|
echo "Poking $targetPid and waiting for data..."
|
||||||
|
Reference in New Issue
Block a user