You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2023/01/31 22:22:00 UTC
[celix] 04/05: Update coverage ci config to show test output on failures
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch feature/refactor_bundle_cache
in repository https://gitbox.apache.org/repos/asf/celix.git
commit e1a6dc65911ba033539787b7d472efa1a0df2539
Author: Pepijn Noltes <pn...@apache.org>
AuthorDate: Tue Jan 31 22:08:08 2023 +0100
Update coverage ci config to show test output on failures
---
cmake/celix_project/CodeCoverage.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/celix_project/CodeCoverage.cmake b/cmake/celix_project/CodeCoverage.cmake
index 086d7aca..d05262f9 100644
--- a/cmake/celix_project/CodeCoverage.cmake
+++ b/cmake/celix_project/CodeCoverage.cmake
@@ -130,7 +130,7 @@ function (setup_target_for_coverage)
# Cleanup lcov
COMMAND ${LCOV_PATH} --directory . --zerocounters
- COMMAND ${CMAKE_CTEST_COMMAND} -R ${TEST_TARGET_NAME}
+ COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -R ${TEST_TARGET_NAME}
# Capturing lcov counters and generating report
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/coverage