63ffae3fa3
Script that wraps Qt test execution in order to iron-out flakiness. Task-number: QTBUG-96353 Change-Id: Ie8ee780e3f4f8d086c080a7784f9f68fd1867be2 Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
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
|