3
0
Fork 0
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:
Miodrag Milanovic 2026-05-07 09:44:42 +02:00
parent 2046a23a2f
commit 6ac8758e7e
2 changed files with 26 additions and 1 deletions

View file

@ -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: