cmake/CodeCoverage.cmake


Log

Author Commit Date CI Message
yuangongji 1a99f9b2 2020-01-14T15:54:14 coverage: 'lcov --remove' need full path
Azat Khuzhin 40fbffc0 2016-11-01T23:33:11 Fix cmake -DEVENT__COVERAGE=ON - do not use compiler check from the root cmake rules with syntax error, let CodeCoverage check it - fix CodeCoverage to check C compiler not CXX - case insensitive checking of CMAKE_BUILD_TYPE - replace flags with --coverage, and fix flags with linking with --coverate, otherwise it will not compile during checking flags and fails.
Joakim Soderberg f7805939 2013-12-19T10:46:04 Only look for ZLib when it is used (if tests are included). Also make the project language C.
Joakim Soderberg f2483f8b 2013-12-17T15:17:29 Add a "make verify_coverage" target generation coverage info. Use lcov/gcov to gather coverage info for the tests (Only works with gcc/clang and make). cmake -DEVENT__COVERAGE=1 -DCMAKE_BUILD_TYPE=Debug .. make make verify_coverage Current coverage (run on debian): Line coverage 79.1 % 10231 / 12939 Function coverage 86.1 % 933 / 1083