mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-01-23 04:14:32 +08:00
21 lines
677 B
YAML
21 lines
677 B
YAML
type: Group
|
|
instructions:
|
|
- type: EnvironmentVariable
|
|
variableName: CTEST_ARGS
|
|
variableValue: "-V --rerun-failed --force-new-ctest-process"
|
|
- type: AppendToEnvironmentVariable
|
|
variableName: CTEST_ARGS
|
|
variableValue: " --stop-on-failure"
|
|
enable_if:
|
|
condition: property
|
|
property: features
|
|
contains_value: AbortTestingOnFirstFailure
|
|
- type: ExecuteCommand
|
|
command: "{{.Env.TESTS_ENV_PREFIX}} ctest {{.Env.CTEST_ARGS}}"
|
|
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
|
ignoreExitCode: true
|
|
maxTimeInSeconds: 10800
|
|
maxTimeBetweenOutput: 900
|
|
userMessageOnFailure: >
|
|
Failed to run tests.
|