Imre Kis | a21712e | 2019-10-08 12:56:59 +0200 | [diff] [blame] | 1 | Code coverage |
| 2 | ============= |
| 3 | |
| 4 | Coverage processing flow |
| 5 | ------------------------ |
| 6 | |
| 7 | 1. Prerequisites |
| 8 | |
| 9 | 1. Building all or selected test binaries with coverage enabled |
| 10 | |
| 11 | 2. Running all or selected test binaries |
| 12 | |
| 13 | 2. Collecting coverage data from ``.gcda`` and ``.gcno`` file into ``lcov`` coverage info file |
| 14 | |
| 15 | 3. Mapping c-picker generated files' coverage to the original source lines |
| 16 | |
| 17 | 4. Filtering coverage data for separating the coverage of the code under tests and the coverage of the test code |
| 18 | |
| 19 | 5. Generating HTML coverage report from the filtered lcov info files |
| 20 | |
| 21 | |
| 22 | .. cmake-module:: ../../cmake/Coverage.cmake |
| 23 | |
| 24 | |
| 25 | -------------- |
| 26 | |
| 27 | *Copyright (c) 2019-2021, Arm Limited. All rights reserved.* |