Debian Codegraph @

coin/instructions/cmake_regular_test_instructions.yaml

raw
1 type: Group
2 instructions:
3 - type: MakeDirectory
4 directory: "{{.SourceDir}}_standalone_tests"
5 - type: InstallTestBinaryArchive
6 relativeStoragePath: "{{.Env.MODULE_ARTIFACTS_RELATIVE_STORAGE_PATH}}/tests.tar.gz"
7 directory: "{{.SourceDir}}_standalone_tests"
8 maxTimeInSeconds: 1200
9 maxTimeBetweenOutput: 1200
10 userMessageOnFailure: >
11 Failed to install tests archive.
12 enable_if:
13 condition: property
14 property: features
15 not_contains_value: "BuildTestsInTest"
16 - type: ChangeDirectory
17 directory: "{{.SourceDir}}_standalone_tests"
18
19 # For configurations with granular test significance,
20 # make the tests significant by default, unless a module
21 # explicitly overrides it.
22 - type: Group
23 enable_if:
24 condition: and
25 conditions:
26 - condition: property
27 property: features
28 not_contains_value: "InsignificantTests"
29 - condition: runtime
30 env_var: COIN_CTEST_IGNORE_EXIT_CODE
31 equals_value: "1"
32 - condition: or
33 conditions:
34 - condition: property
35 property: id
36 equals_value: "macos-26-arm64-tests"
37 - condition: runtime
38 env_var: COIN_CTEST_FORCE_IGNORE_EXIT_CODE
39 equals_value: null
40 instructions:
41 - type: EnvironmentVariable
42 variableName: COIN_CTEST_IGNORE_EXIT_CODE
43 variableValue: "0"
44
45 - !include "{{qt/qtbase}}/cmake_run_ctest.yaml"