mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 22:17:45 +08:00
Add instructions to run cmake on the qt5/tests/manual/RunCMake directory followed by ctest. These are only executed on platforms that set the TopLevelRunCMakeTests feature. Change-Id: I336f9395e5d9d580619eac028fbfc1d6c14bf805 Reviewed-by: Toni Saario <toni.saario@qt.io>
30 lines
826 B
YAML
30 lines
826 B
YAML
type: Group
|
|
instructions:
|
|
- type: AppendToEnvironmentVariable
|
|
variableName: CTEST_ARGS
|
|
variableValue: " -V"
|
|
|
|
- type: AppendToEnvironmentVariable
|
|
variableName: CTEST_ARGS
|
|
variableValue: " --stop-on-failure"
|
|
enable_if:
|
|
condition: property
|
|
property: features
|
|
contains_value: AbortTestingOnFirstFailure
|
|
|
|
- type: AppendToEnvironmentVariable
|
|
variableName: CTEST_ARGS
|
|
variableValue: " --no-label-summary"
|
|
|
|
- type: Group
|
|
instructions:
|
|
- type: ExecuteCommand
|
|
command: "{{.Env.TESTS_ENV_PREFIX}} ctest {{.Env.CTEST_ARGS}}"
|
|
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
|
ignoreExitCode: false
|
|
maxTimeInSeconds: 14400
|
|
maxTimeBetweenOutput: 14400
|
|
userMessageOnFailure: >
|
|
Failed to run tests.
|
|
|