• Home
  • Raw
  • Download

Lines Matching full:coverage

12 # Add an option to choose, if coverage should be enabled or not. If enabled
13 # marked targets will be build with coverage support and appropriate targets
14 # will be added. If disabled coverage will be ignored for *ALL* targets.
15 option(ENABLE_COVERAGE "Enable coverage build." OFF)
19 "-O0 -g -fprofile-arcs -ftest-coverage"
22 "-O0 -g --coverage"
26 # Add coverage support for target ${TNAME} and register target for coverage
27 # evaluation. If coverage is disabled or not supported, this function will
31 # coverage is not supported by the compiler or disabled. This function must
32 # be defined here, because the module will be exited, if there is no coverage
35 # only add coverage for target, if coverage is support and enabled.
44 # Add global target to gather coverage information after all targets have been
49 # coverage is not supported by the compiler or disabled. This function must
50 # be defined here, because the module will be exited, if there is no coverage
61 # Exit this module, if coverage is disabled. add_coverage is defined before this
77 # Coverage flags are not dependend on language, but the used compiler. So
84 message(STATUS "Try ${COMPILER} code coverage flag = [${FLAG}]")
102 # Fortran coverage support as not available.
117 CACHE STRING "${COMPILER} flags for code coverage.")
121 message(WARNING "Code coverage is not available for ${COMPILER}"
183 # Add coverage support for target ${TNAME} and register target for coverage
189 # use different implementations for code coverage.
212 message(WARNING "Can't use code coverage for target ${TNAME}, because "
214 "compiled without code coverage.")
218 message(WARNING "Can't use code coverage for target ${TNAME}, because "
220 "code coverage.")
230 # enable coverage for target