2020-06-25 13:45:50 +00:00
|
|
|
type: Group
|
|
|
|
instructions:
|
2021-08-19 14:19:21 +00:00
|
|
|
# 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.
|
2020-07-01 09:13:15 +00:00
|
|
|
- type: EnvironmentVariable
|
|
|
|
variableName: QTEST_ENVIRONMENT
|
|
|
|
variableValue: "ci"
|
2020-06-25 13:45:50 +00:00
|
|
|
- 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
|
2021-09-27 15:02:52 +00:00
|
|
|
not_in_values: [QEMU, QNX_710]
|
2020-06-25 13:45:50 +00:00
|
|
|
- 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
|
2021-09-27 15:02:52 +00:00
|
|
|
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
|