mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-21 09:29:37 +00:00
Generate coverage for tests
This commit is contained in:
parent
2046a23a2f
commit
6ac8758e7e
2 changed files with 26 additions and 1 deletions
1
Makefile
1
Makefile
|
|
@ -1117,6 +1117,7 @@ coverage:
|
|||
./$(PROGRAM_PREFIX)yosys -qp 'help; help -all'
|
||||
rm -rf coverage.info coverage_html
|
||||
lcov --capture -d . --no-external -o coverage.info
|
||||
lcov --remove coverage.info '*/tests/various/*' '*/libs/*' -o coverage.info --ignore-errors unused
|
||||
genhtml coverage.info --output-directory coverage_html
|
||||
|
||||
clean_coverage:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue