aboutsummaryrefslogtreecommitdiff
path: root/automated/android/busybox
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2017-03-22 13:38:34 +0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-03-22 14:53:11 +0000
commit6ee3e9d1f293c2d51736b8ba053e66bd873ad232 (patch)
treecd2cc150987c2c056a32e2104d44d201ad18fa94 /automated/android/busybox
parented69cdaedaffee87ca8ec76859cdd8e8ce15c3c0 (diff)
automated: android: set and use environmental variable ANDROID_SERIAL
When ANDROID_SERIAL set, we don't need to use '-s' to specify device serial no. any more. Change-Id: Ide4951c6ab68806a6241b38c3bf001e2e4e15eab Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/android/busybox')
-rwxr-xr-xautomated/android/busybox/busybox.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/android/busybox/busybox.sh b/automated/android/busybox/busybox.sh
index 30141da..b36600a 100755
--- a/automated/android/busybox/busybox.sh
+++ b/automated/android/busybox/busybox.sh
@@ -14,7 +14,7 @@ create_out_dir "${OUTPUT}"
adb_push "./device-script.sh" "/data/local/tmp/bin/"
-adb -s "${SN}" shell '/data/local/tmp/bin/device-script.sh 2>&1' \
+adb shell '/data/local/tmp/bin/device-script.sh 2>&1' \
| tee "${OUTPUT}/device-stdout.log"
adb_pull "/data/local/tmp/busybox/result.txt" "${OUTPUT}/"