From 1b8cec5b0447cfd4c8edba8f1886dc7f7e2cf1b9 Mon Sep 17 00:00:00 2001 From: Quentin Monnier Date: Wed, 18 Jan 2023 15:40:26 +0000 Subject: [PATCH] Update job-uitests.yml --- .gitlab-ci-files/job-uitests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci-files/job-uitests.yml b/.gitlab-ci-files/job-uitests.yml index 02099351f..2c4961b38 100644 --- a/.gitlab-ci-files/job-uitests.yml +++ b/.gitlab-ci-files/job-uitests.yml @@ -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 @@ -56,7 +56,7 @@ job-android-uitests: - ${ANDROID_HOME}/platform-tools/adb -s emulator-5554 emu kill - ${ANDROID_HOME}/platform-tools/adb kill-server - - if [$BUILD_RESULT -eq 0] || [ ! -d app/build/reports/androidTests/connected/failures ]; then exit 0; else exit 1; fi + - if [ $BUILD_RESULT -eq 0 ] || [ ! -d app/build/reports/androidTests/connected/failures ]; then exit 0; else exit 1; fi after_script: #artifacts preparation