qt5base-lts/coin/instructions
Alexandru Croitor d8f814cdb7 CMake: Add instructions for building and testing qemu configs
Before this change, tests were never built for cross-compiling
configurations.

Add instructions that build and run tests for qemu configurations.
This required a bit of abstraction / indirection to find out what's
the path to the correct qt-cmake call, as well as prepending the
correct env prefix to each call (either the host one or the target
one).

Also, the QEMU configuration requires a few environment variables
to pick up the correct runtime linker and which qpa plugin to use
for running tests.

Finally, make sure the tests are not built and run if the DisableTests
feature is set in the configuration.

Task-number: QTBUG-84423
Change-Id: I0cec28c801a657e67cfa48f3c61cfe487109946b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-06-25 14:11:56 +02:00
..
call_cmake_for_standalone_tests.yaml CMake: Add instructions for building and testing qemu configs 2020-06-25 14:11:56 +02:00
call_cmake.yaml CMake: Use the same generator when building other repositories 2020-05-19 10:16:16 +02:00
call_host_cmake.yaml CMake: Use the same generator when building other repositories 2020-05-19 10:16:16 +02:00
call_host_install.yaml CMake: Use custom install script to support Ninja Multi-Config builds 2020-05-19 10:16:11 +02:00
call_target_cmake.yaml CMake: Use the same generator when building other repositories 2020-05-19 10:16:16 +02:00
call_target_install.yaml CMake: Use custom install script to support Ninja Multi-Config builds 2020-05-19 10:16:11 +02:00
cmake_build_and_upload_test_artifacts_host.yaml CMake: Add instructions for building and testing qemu configs 2020-06-25 14:11:56 +02:00
cmake_build_and_upload_test_artifacts_target.yaml CMake: Add instructions for building and testing qemu configs 2020-06-25 14:11:56 +02:00
cmake_build_and_upload_test_artifacts.yaml CMake: Add instructions for building and testing qemu configs 2020-06-25 14:11:56 +02:00
cmake_cross_compilation_module_build_instructions.yaml CMake: Use custom install script to support Ninja Multi-Config builds 2020-05-19 10:16:11 +02:00
cmake_cross_compilation_qtbase_build_instructions.yaml CMake: Use custom install script to support Ninja Multi-Config builds 2020-05-19 10:16:11 +02:00
cmake_module_build_instructions.yaml CMake: Use custom install script to support Ninja Multi-Config builds 2020-05-19 10:16:11 +02:00
cmake_qtbase_build_instructions.yaml CMake: Use custom install script to support Ninja Multi-Config builds 2020-05-19 10:16:11 +02:00
cmake_regular_test_instructions.yaml CMake: Build standalone tests out of source in Coin 2020-03-11 13:46:51 +00:00
coin_module_build_template_v2.yaml CMake: Add instructions for building and testing qemu configs 2020-06-25 14:11:56 +02:00
coin_module_test_qemu_env_vars.yaml CMake: Add instructions for building and testing qemu configs 2020-06-25 14:11:56 +02:00
coin_module_test_template_v2.yaml CMake: Add instructions for building and testing qemu configs 2020-06-25 14:11:56 +02:00
coin_qtbase_build_template_v2.yaml CMake: Add instructions for building and testing qemu configs 2020-06-25 14:11:56 +02:00
prepare_building_env.yaml CMake: Adjust instructions for MinGW builds 2020-05-01 19:11:22 +02:00