From da42f0f046f5093e663ded6426531caf7ea5f295 Mon Sep 17 00:00:00 2001 From: Milosz Wasilewski Date: Mon, 5 Oct 2015 18:29:21 +0100 Subject: Android: Multinode target side unification CTS and lava-android-test shared almost the same target side YAML files. This change merges both files into one and adds support for USB only devices. To preserve backward compatibility symilnks were created. These should be considered as deprecated and will be removed after all templates are migrated to new YAML files. Change-Id: Ie47eefb2ee5d1872a96925d3d0ec72501ed8fd71 Signed-off-by: Milosz Wasilewski --- android/scripts/adb_connect.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 android/scripts/adb_connect.sh (limited to 'android/scripts') diff --git a/android/scripts/adb_connect.sh b/android/scripts/adb_connect.sh new file mode 100755 index 0000000..1416c15 --- /dev/null +++ b/android/scripts/adb_connect.sh @@ -0,0 +1,8 @@ +#!/bin/sh +echo "Checking IP address for $1" +expr "$1" : '[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*$' +if [ $? -eq 0 ] +then + adb connect $1 + IPADDR=$1:5555 +fi -- cgit v1.2.3