Coin:Android: Enable tests for default packaging target - Part 5

This makes sure Android tests are run by default for packaging
targets for various integrations including qt5 integrations and
potential issues are caught up early on especially when doing
sumobules updates and coin scripts updates.

Also, this makes it easier to manage instead of having the tests
enabled per module. Thus, this removes the Android test include
from the individual modules because it will be retrieved directly
from cmake_platforms_target_android_host_linux.yaml which is included
by cmake_platforms.yaml.

Pick-to: 6.2 6.3 6.4
Task-number: QTBUG-88846
Change-Id: I8bc1638df48ad27781160df943c0126ffe495a3e
Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
Assam Boudjelthia 2022-03-11 14:53:09 +02:00
parent 76ca35c6e7
commit 1d4f821520
31 changed files with 31 additions and 119 deletions

View File

@ -35,12 +35,13 @@ Configurations:
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'RHEL-8.4-host'
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}}',
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86-clang'
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86-clang',
'ANDROID_EMULATOR=@emulator_x86_api_23'
]
-
Template: 'qtci-linux-RHEL-8.4-x86_64-50'

View File

@ -1,18 +0,0 @@
Version: 2
Configurations:
-
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'x86'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'RHEL-8.4-host'
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'UseConfigure']
Environment variables: [
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME}}',
'CONAN_HOST_PROFILE=coin/conan/profiles/linux-x86_64-gcc',
'CONAN_INSTALL_DIR={{.InstallDir}}/target',
'CONAN_PROFILE=coin/conan/profiles/unix-android-x86-clang',
'ANDROID_EMULATOR=@emulator_x86_api_23'
]

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -4,7 +4,6 @@ Include: [
cmake_platforms_static_tests.yaml,
integrity.yaml,
ios-tests.yaml,
address_sanitizer_platforms.yaml,
linux_android_tests.yaml
address_sanitizer_platforms.yaml
]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -3,7 +3,6 @@ Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_static_tests.yaml,
linux_android_tests.yaml,
linux_android_tests_developer.yaml
]
Configurations: []

View File

@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
linux_android_tests.yaml
integrity.yaml
]
Configurations: []

View File

@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
linux_android_tests.yaml
integrity.yaml
]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
linux_android_tests.yaml
integrity.yaml
]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
linux_android_tests.yaml
integrity.yaml
]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
linux_android_tests.yaml
integrity.yaml
]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
linux_android_tests.yaml
integrity.yaml
]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []

View File

@ -1,6 +1,3 @@
Version: 2
Include: [
cmake_platforms.yaml,
linux_android_tests.yaml
]
Include: [cmake_platforms.yaml]
Configurations: []