Make qtbase and all other modules significant on macOS 15 by default

Unless a module overrides it by setting the environment variable
COIN_CTEST_FORCE_IGNORE_EXIT_CODE.

As this change trickles through submodule updates we'll mark modules
as COIN_CTEST_FORCE_IGNORE_EXIT_CODE if needed.

Change-Id: Ia37d6e4c4dee41a3dd7446fa23ab96593dab9402
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Tor Arne Vestbø 2025-01-06 15:17:38 +01:00
parent dbfc3c9c38
commit 23312f2566

View File

@ -16,4 +16,30 @@ instructions:
- type: ChangeDirectory
directory: "{{.SourceDir}}_standalone_tests"
# For configurations with granular test significance,
# make the tests significant by default, unless a module
# explicitly overrides it.
- type: Group
enable_if:
condition: and
conditions:
- condition: property
property: features
not_contains_value: "InsignificantTests"
- condition: runtime
env_var: COIN_CTEST_IGNORE_EXIT_CODE
equals_value: "1"
- condition: or
conditions:
- condition: property
property: id
contains_value: "macos-15"
- condition: runtime
env_var: COIN_CTEST_FORCE_IGNORE_EXIT_CODE
equals_value: null
instructions:
- type: EnvironmentVariable
variableName: COIN_CTEST_IGNORE_EXIT_CODE
variableValue: "0"
- !include "{{qt/qtbase}}/cmake_run_ctest.yaml"