Skip to content

Commit

Permalink
cleaning code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajsic committed Aug 31, 2023
1 parent 7c09f46 commit b01e824
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 201 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,8 @@ endif ()

option(MATA_ENABLE_COVERAGE "Mata coverage" OFF)
# if DEBUG, also test coverage
if(CMAKE_BUILD_TYPE MATCHES "Debug")
if((CMAKE_BUILD_TYPE MATCHES "Debug") AND MATA_ENABLE_COVERAGE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g --coverage")
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lgcov")
# include(CodeCoverage)
# setup_target_for_coverage(${PROJECT_NAME}_coverage tests coverage)
endif()

##############################################################################
Expand Down
197 changes: 0 additions & 197 deletions cmake/CodeCoverage.cmake

This file was deleted.

1 change: 1 addition & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ ignore:
- 3rdparty
- tests-integration
- tests
- examples

0 comments on commit b01e824

Please sign in to comment.