automated/android/wait-single-boot-completed
Description
Wait until one locally attached Android device is completely booted. Usable only if at most one device is visible to adb, but has the advantage that the device's serial number does not need to be known in advance.
Maintainer
- karsten@fairphone.com
- softwareteam@fairphone.com
OS
- debian
- ubuntu
Scope
- functional
Devices
- lxc
Steps to reproduce
- . ./automated/lib/sh-test-lib
- . ./automated/lib/android-test-lib
- retVal=0; wait_boot_completed "${TIMEOUT}" || retVal=$?
- if [ "${retVal}" -ne 0 -a "${RAISE_ON_FAILURE}" = "true" ]; then lava-test-raise "Device did not boot up within ${TIMEOUT} seconds." fi