diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-03-07 18:35:33 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-10 18:21:37 +0000 |
commit | e63167b6638e846cb5025442fcd3d45fe46013e9 (patch) | |
tree | 67576baa49fcfc5b3dd1bdfbc454de64dd7b2904 | |
parent | 1fb36fb0a7af6eba072c9dd8b6e4581b5877da5a (diff) |
coin: Use the generic coin_module_test_docs.yaml instructions
The old instructions uses the outdated BUILD_TESTING option, doesn't
copy the additional support files and also prohibits switching to
using configure instead of cmake, because it uses call_cmake directly.
Use the new generic instructions like other repos.
Change-Id: I8374fb6be8e7790a4083d5f725fe2e577a869339
Reviewed-by: Toni Saario <toni.saario@qt.io>
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
(cherry picked from commit 7e3387a36a7f37b74a02936814f13aa6050c9370)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | coin/module_config.yaml | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml index 5069e9d7a..aaf332382 100644 --- a/coin/module_config.yaml +++ b/coin/module_config.yaml @@ -10,29 +10,4 @@ instructions: Test: - !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml" - - type: Group - instructions: - - !include "{{qt/qtbase}}/prepare_building_env.yaml" - - type: EnvironmentVariable - variableName: QDOC_NOLINKERRORS - variableValue: 1 - - type: EnvironmentVariable - variableName: QDOC_ENABLE_WARNINGLIMIT - variableValue: 1 - - type: SetBuildDirectory - directory: "{{.SourceDir}}" - - type: ChangeDirectory - directory: "{{.BuildDir}}" - - type: EnvironmentVariable - variableName: COIN_CMAKE_ARGS - variableValue: "-DBUILD_TESTING=OFF {{.SourceDir}}" - - !include "{{qt/qtbase}}/call_cmake.yaml" - - type: ExecuteCommand - command: "cmake --build . --target generate_docs" - maxTimeInSeconds: 1800 - maxTimeBetweenOutput: 900 - userMessageOnFailure: "Documentation check failed, see the log for details." - enable_if: - condition: property - property: features - contains_value: "TestDocs" + - !include "{{qt/qtbase}}/coin_module_test_docs.yaml" |