update gitlab-ci

This commit is contained in:
Quentin Monnier 2022-12-07 12:34:12 -05:00 committed by Sylvain Berfini
parent 4e2663779d
commit cb0e7257f8

View file

@ -9,7 +9,7 @@ failcounter=0
timeout_in_sec=360
until [[ "$bootanim" =~ "stopped" ]]; do
bootanim=`adb -e shell getprop init.svc.bootanim 2>&1 &`
bootanim=`${ANDROID_HOME}/platform-tools/adb -e shell getprop init.svc.bootanim 2>&1 &`
if [[ "$bootanim" =~ "device not found" || "$bootanim" =~ "device offline"
|| "$bootanim" =~ "running" ]]; then
let "failcounter += 1"
@ -25,4 +25,4 @@ until [[ "$bootanim" =~ "stopped" ]]; do
sleep 1
done
echo "Emulator is ready"
echo "Emulator is ready"