forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gcov: Enable Code coverage reporting over UART.
This patch provides support for generating Code coverage reports. The prj.conf needs to enable CONFIG_COVERAGE. Once enabled, the code coverage data dump now comes via UART. This data dump on the UART is triggered once the main thread exits. Next step is to save this data dump on file. Then run scripts/gen_gcov_files.py with the serial console log as argument. The last step would be be to run the gcovr. Use the following cmd gcovr -r . --html -o gcov_report/coverage.html --html-details Currently supported architectures are ARM and x86. Signed-off-by: Adithya Baglody <[email protected]>
- Loading branch information
1 parent
e223cfa
commit 71e90f9
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters