more power to the clone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-02-27 21:39:57 +01:00
parent 4de7759485
commit 53d8103c2f

View File

@@ -68,11 +68,18 @@ start_emulator() {
-gpu swiftshader_indirect \ -gpu swiftshader_indirect \
-no-snapshot \ -no-snapshot \
& &
EMU_PID=$!
sleep 5
if ! kill -0 "$EMU_PID" 2>/dev/null; then
echo "ERROR: Emulator process died during startup"
exit 1
fi
} }
wait_for_emulator() { wait_for_emulator() {
echo "--- Waiting for emulator boot ---" echo "--- Waiting for emulator boot ---"
adb wait-for-device timeout 60 adb wait-for-device
timeout 240 bash -c ' timeout 240 bash -c '
while [ "$(adb shell getprop sys.boot_completed 2>/dev/null | tr -d "\r")" != "1" ]; do while [ "$(adb shell getprop sys.boot_completed 2>/dev/null | tr -d "\r")" != "1" ]; do
sleep 2 sleep 2