Re: [Bug 1270497] [NEW] phablet-test-run doesn't work with emulators out of the box, looks for 'usb' in adb

2014-01-18 Thread Sergio Schvezov
On 18/01/14 19:26, Steve Langasek wrote: > Public bug reported: > > phablet-test-run includes the following code to select a "default" > device to connect to: > > if test -z $ANDROID_SERIAL; then > ANDROID_SERIAL=$(adb devices -l | grep usb | cut -f 1 -d " " | head -n1) > fi > export ANDROID_S

[Bug 1270497] [NEW] phablet-test-run doesn't work with emulators out of the box, looks for 'usb' in adb

2014-01-18 Thread Steve Langasek
Public bug reported: phablet-test-run includes the following code to select a "default" device to connect to: if test -z $ANDROID_SERIAL; then ANDROID_SERIAL=$(adb devices -l | grep usb | cut -f 1 -d " " | head -n1) fi export ANDROID_SERIAL=$ANDROID_SERIAL But this doesn't match the output o