Debian Codegraph @

coin/instructions/cmake_setup_running_tests_env_vars.yaml

raw
1 type: Group
2 instructions:
3 # Informs qtestblacklist.cpp that tests are run in the CI.
4 # A related QT_BUILD_ENVIRONMENT env var is set during an integration's build phase.
5 - type: EnvironmentVariable
6 variableName: QTEST_ENVIRONMENT
7 variableValue: "ci"
8 - type: Group
9 instructions:
10 - type: EnvironmentVariable
11 variableName: TESTS_ENV_PREFIX
12 variableValue: "{{.Env.ENV_PREFIX}}"
13 enable_if:
14 condition: and
15 conditions:
16 - condition: property
17 property: host.os
18 equals_property: target.os
19 - condition: property
20 property: target.osVersion
21 not_in_values: [QEMU, QNX_710, QNX_800, VxWorks]
22 - type: Group
23 instructions:
24 - type: EnvironmentVariable
25 variableName: TESTS_ENV_PREFIX
26 variableValue: "{{.Env.TARGET_ENV_PREFIX}}"
27 disable_if:
28 condition: and
29 conditions:
30 - condition: property
31 property: host.os
32 equals_property: target.os
33 - condition: property
34 property: target.osVersion
35 not_in_values: [QEMU, QNX_710, QNX_800, VxWorks]
36 - type: Group
37 instructions:
38 - !include "{{qt/qtbase}}/cmake_setup_running_qnxqemu_tests_env_vars.yaml"
39 enable_if:
40 condition: and
41 conditions:
42 - condition: property
43 property: target.os
44 equals_value: QNX
45 - condition: property
46 property: features
47 not_contains_value: DisableTests
48 - type: Group
49 instructions:
50 - !include "{{qt/qtbase}}/vxworks_testrunner.yaml"
51 enable_if:
52 condition: and
53 conditions:
54 - condition: property
55 property: target.osVersion
56 equals_value: VxWorks
57 - condition: property
58 property: features
59 not_contains_value: DisableTests