coin: Ignore CTest exit code for Tart configs, unless module overrides
By selectively setting the COIN_CTEST_IGNORE_EXIT_CODE we can allow modules to gradually become significant, without touching qt5.git Change-Id: Ie5b6e683cd755b1cf46886bb30803a56885a11a6 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
ca95a10987
commit
1dd916fec3
@ -12,4 +12,21 @@ instructions:
|
||||
- type: ChangeDirectory
|
||||
directory: "{{.SourceDir}}_standalone_tests"
|
||||
|
||||
# Ignore CTest exit code for Tart configs, unless
|
||||
# the module declares that it should be significant.
|
||||
- type: Group
|
||||
enable_if:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: property
|
||||
property: id
|
||||
contains_value: tart
|
||||
- condition: runtime
|
||||
env_var: TART_SIGNIFICANT_TARGET_OSVERSIONS
|
||||
not_contains_value: "{{.Env.TARGET_OSVERSION_COIN}}"
|
||||
instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: COIN_CTEST_IGNORE_EXIT_CODE
|
||||
variableValue: "1"
|
||||
|
||||
- !include "{{qt/qtbase}}/cmake_run_ctest.yaml"
|
||||
|
Loading…
x
Reference in New Issue
Block a user