mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

Adds --enable-coverage flag to configure Bro with gcov. A new directory named /testing/bro-code-coverage/ contains a new coverage target that as part of `make coverage` in /testing/. This coverage option creates coverage.log of all important directories in /src/ and places all generated .gcov files alongside the corresponding source file.
9 lines
178 B
Makefile
9 lines
178 B
Makefile
coverage: cleanup
|
|
@./code_coverage.sh
|
|
|
|
cleanup:
|
|
@rm -f coverage.log
|
|
@find ../../ -name "*.gcov" -exec rm {} \;
|
|
|
|
distclean: cleanup
|
|
@find ../../ -name "*.gcno" -exec rm {} \;
|