Add feature to disable building tests
IFW requires static build of Qt which does not build tests on all configurations. This allows building modules without them building tests. Previously IFW used 5.15 repos, those build tests in test workitem, not running into the issue. This is only relevant if the tested repo i.e IFW implements it's own test instructions. Pick-to: 6.6 6.5 6.2 Change-Id: I1e03f3b577d7be314f92ed3989e5f6daf2a46da1 Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
parent
808a63e761
commit
409aa8d097
@ -13,6 +13,11 @@ instructions:
|
||||
variableValue: "{{.Env.COMMON_TEST_CMAKE_ARGS}}"
|
||||
- !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts.yaml"
|
||||
disable_if:
|
||||
condition: property
|
||||
property: features
|
||||
contains_value: DisableTests
|
||||
condition: or
|
||||
conditions:
|
||||
- condition: property
|
||||
property: features
|
||||
contains_value: DisableTests
|
||||
- condition: property
|
||||
property: features
|
||||
contains_value: DoNotBuildTests
|
||||
|
@ -34,6 +34,11 @@ instructions:
|
||||
variableValue: "{{.Env.COMMON_TARGET_TEST_CMAKE_ARGS}}"
|
||||
- !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts.yaml"
|
||||
disable_if:
|
||||
condition: property
|
||||
property: features
|
||||
contains_value: DisableTests
|
||||
condition: or
|
||||
conditions:
|
||||
- condition: property
|
||||
property: features
|
||||
contains_value: DisableTests
|
||||
- condition: property
|
||||
property: features
|
||||
contains_value: DoNotBuildTests
|
||||
|
Loading…
Reference in New Issue
Block a user