-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switched to multiple simultanious targets and better skinning for tests
- Loading branch information
Jonas Jurczok
committed
Jan 21, 2016
1 parent
602b6a8
commit 12dad7d
Showing
3 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
# Script adb+ | ||
# Usage | ||
# You can run any command adb provides on all your currently connected devices | ||
# ./adb+ <command> is the equivalent of ./adb -s <serial number> <command> | ||
# | ||
# Examples | ||
# ./adb+ version | ||
# ./adb+ install apidemo.apk | ||
# ./adb+ uninstall com.example.android.apis | ||
|
||
adb devices | while read line | ||
do | ||
if [ ! "$line" = "" ] && [ `echo $line | awk '{print $2}'` = "device" ] | ||
then | ||
device=`echo $line | awk '{print $1}'` | ||
echo "$device $@ ..." | ||
adb -s $device $@ | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters