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