This is meant to be called by our CI instructions to build standalone
tests of a Qt repository.
Currently it just calls qt-cmake with
-DQT_BUILD_STANDALONE_TESTS=ON, but it might contain more things in
the future.
The script also simplifies configuring standalone tests locally, due
to not having to remember the name of the magical variable.
Change our CI instructions to use the new script.
Change-Id: I6bc02b4e94adc9d0d05fecb0fe70a561043271f1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
coin_qtbase_build_template_v2.yaml did not exist. The build instructions were directly embedded into
module_config.yaml and did not support repos outside of qtbase, also no cross-compilation.
coin_qtbase_build_template_v2 introduced support for building other repos, and also enabled
build cross-compiling targets like Android and iOS.
A bit later the template gained the ability to build qemu cross-compiling configurations.
The counterpart to qtbase to build other repositories is coin_module_build_template_v2
Test templates
coin_module_test_template_v1 did not exist. The test instructions were directly embedded into
module_config.yaml and did not support repos outside of qtbase, also no cross-compilation.
coin_module_test_template_v2 introduced support for building tests for other repos, and made
sure not to build and run tests on cross-compiling configuration. A bit later the template gained
the ability to build and run tests for qemu cross-compiling configurations.
coin_module_test_template_v3 changed the run test instructions to not ignore the exit code
and thus enforce that tests pass in the CI.