Skip to content

Commit

Permalink
Remove useless gcov utils scripts for GCC (#6024)
Browse files Browse the repository at this point in the history
ref #4909
  • Loading branch information
solotzg authored Sep 26, 2022
1 parent e2ea168 commit 676699c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 741 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -478,14 +478,6 @@ else ()
message (STATUS "Set jemalloc narenas ${JEMALLOC_NARENAS}")
endif ()

# Flags for test coverage
option (TEST_COVERAGE "Enables flags for test coverage" OFF)
option (TEST_COVERAGE_XML "Output XML report for test coverage" OFF)
if (TEST_COVERAGE AND CMAKE_BUILD_TYPE_UC STREQUAL "DEBUG")
include(CodeCoverage)
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fprofile-arcs -ftest-coverage")
endif ()

option (TEST_LLVM_COVERAGE "Enables flags for test coverage" OFF)
if (TEST_LLVM_COVERAGE AND CMAKE_BUILD_TYPE_UC STREQUAL "DEBUG")
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fprofile-instr-generate -fcoverage-mapping -DTIFLASH_LLVM_COVERAGE=1")
Expand Down
Loading

0 comments on commit 676699c

Please sign in to comment.