Files
qt5/coin/instructions/cmake_run_ctest.yaml
Alexandru Croitor 20e23e79cd coin: Add instructions to run RunCMake tests
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>
2025-04-02 19:02:23 +02:00

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.