Update job-uitests.yml

This commit is contained in:
Quentin Monnier 2023-01-18 15:14:27 +00:00 committed by Sylvain Berfini
parent 51597e8756
commit c1b61e38ea

View file

@ -30,7 +30,7 @@ job-android-uitests:
#define adb tcp port
- RUNNING_DEVICES=$(${ANDROID_HOME}/platform-tools/adb devices)
- while [[ $RUNNING_DEVICES == *$emulator_adb_port* ]]; do; emulator_adb_port=$(($emulator_adb_port + 2)); done
- if [ $emulator_adb_port -gt 5586]; then; echo "|warning| the 15 recommended ports are already used by other emulators. ADB may not function properly for this emulator"; fi
- if [ $emulator_adb_port -gt 5586 ]; then; echo "|warning| the 15 recommended ports are already used by other emulators. ADB may not function properly for this emulator"; fi
- emulator_name=$emulator_name-$emulator_adb_port
#install emulator system-image and create it