summaryrefslogtreecommitdiffstats
path: root/coin/instructions/cmake_module_lcov_code_coverage.yaml
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2024-03-06 19:37:37 +0100
committerDominik Holland <dominik.holland@qt.io>2024-03-07 10:27:23 +0000
commitc368a75ff45deca89c48bbb2c0cc87c500878dce (patch)
treecb34f01fd35a32f384c08adc411acc3f32c209e3 /coin/instructions/cmake_module_lcov_code_coverage.yaml
parent42512ac9699d3a2e7a102e54b55415e43be59625 (diff)
Improve the code-coverage setup
Instead of making a standalone_test build and referencing the build folder from there, we do the test build together with the module build and run it like on a developer machine. This makes the whole report more reliable and fixes some areas which were marked as not tested at all. Pick-to: 6.7 Change-Id: Ia24c883af55970e0aee27af9a95cda79da1caca7 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'coin/instructions/cmake_module_lcov_code_coverage.yaml')
-rw-r--r--coin/instructions/cmake_module_lcov_code_coverage.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/coin/instructions/cmake_module_lcov_code_coverage.yaml b/coin/instructions/cmake_module_lcov_code_coverage.yaml
index 15056ab9..72c2b0fa 100644
--- a/coin/instructions/cmake_module_lcov_code_coverage.yaml
+++ b/coin/instructions/cmake_module_lcov_code_coverage.yaml
@@ -2,7 +2,7 @@ type: Group
instructions:
- !include "{{qt/qtbase}}/coin_module_test_template_common.yaml"
- type: ChangeDirectory
- directory: "{{.SourceDir}}_standalone_tests"
+ directory: "{{.SourceDir}}_build"
- type: EnvironmentVariable
variableName: CMAKE_BUILD_TIMEOUT
variableValue: "6000"
@@ -39,4 +39,4 @@ instructions:
- type: ScheduleUploadTestResults
- type: EnvironmentVariable
variableName: COIN_CTEST_RESULTSDIR
- variableValue: "{{.SourceDir}}_standalone_tests/upload"
+ variableValue: "{{.SourceDir}}_build/upload"