Skip to content

Commit

Permalink
coin: Ignore CTest exit code for Tart configs, unless module overrides
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
torarnv committed May 29, 2024
1 parent ca95a10 commit 1dd916f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions coin/instructions/cmake_regular_test_instructions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 1dd916f

Please sign in to comment.