From 41d834903548424be7d0a60d3f1aac5b07280f22 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 4 May 2021 13:04:58 +0200 Subject: CMakeLists.txt: Move coverage report generation macro into basefolder's CMakeLists.txt file. With the previous approach, only coverage of the tests/ subfolder was reported (which always should be 100%). With this change, also coverage of the files in src/ is reported. --- tests/CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 39cde1f..a31f789 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -23,10 +23,3 @@ target_link_libraries("gtest-menuitems" ) add_test("gtest-menuitems" "gtest-menuitems") add_dependencies("gtest-menuitems" ayatana-ido3-0.4) - - -# coverage -if (ENABLE_COVERAGE) - find_package(CoverageReport) - ENABLE_COVERAGE_REPORT(TARGETS "gtest-menuitems" TESTS "gtest-menuitems") -endif() -- cgit v1.2.3