mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-07 23:46:51 +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>
28 lines
888 B
YAML
28 lines
888 B
YAML
type: Group
|
|
instructions:
|
|
- !include "{{qt/qtbase}}/prepare_building_env.yaml"
|
|
|
|
- type: SetBuildDirectory
|
|
directory: "{{.SourceDir}}/run_cmake_tests_build"
|
|
- type: MakeDirectory
|
|
directory: "{{.BuildDir}}"
|
|
- type: ChangeDirectory
|
|
directory: "{{.BuildDir}}"
|
|
|
|
- type: EnvironmentVariable
|
|
variableName: COIN_CMAKE_ARGS
|
|
variableValue: "{{.Env.CMAKE_ARGS}} {{.Env.COMMON_CMAKE_ARGS}}"
|
|
- type: EnvironmentVariable
|
|
variableName: CONFIGURE_ENV_PREFIX
|
|
variableValue: "{{.Env.ENV_PREFIX}}"
|
|
|
|
- type: ExecuteCommand
|
|
command: "{{.Env.CONFIGURE_ENV_PREFIX}} cmake {{.SourceDir}}/tests/manual/RunCMake"
|
|
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
|
maxTimeInSeconds: 6000
|
|
maxTimeBetweenOutput: 1200
|
|
userMessageOnFailure: >
|
|
Failed to configure the RunCMake tests.
|
|
|
|
- !include "{{qt/qt5}}/cmake_run_ctest.yaml"
|