Commit a3025412 authored by Quentin Monnier's avatar Quentin Monnier Committed by Sylvain Berfini
Browse files

Update job-uitests.yml

1 merge request!1192Added automated UI tests
Showing with 3 additions and 2 deletions
......@@ -29,7 +29,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
- 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
- emulator_name=$emulator_name-$emulator_adb_port
......@@ -47,7 +47,8 @@ job-android-uitests:
script:
- set +e
#launch uitest suite
#launch uitest suites
- ANDROID_SERIAL=emulator-$emulator_adb_port
- ./gradlew -Pandroid.testInstrumentationRunnerArguments.class=org.linphone.testsuites.CallTestSuite -PscreportWindowed=false connectedAndroidTest --continue
- export BUILD_RESULT=$?
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment