Commit b98533b4 authored by Jeremy C. Reed's avatar Jeremy C. Reed

Add some docs to README about new targets.

Add brief changelog entry.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac362@3628 e5f2f494-b856-4b98-b285-d166d9295462
parent 6f06fa88
XXX. [build] jreed
Introduced configure option and make targets for generating
Python code coverage report. (Trac #362)
120. [func] jinmei
src/lib/dns: introduced two new classes, TSIGKey and TSIGKeyRing,
to manage TSIG keys. (Trac #381, svn r3622)
......
......@@ -93,25 +93,49 @@ Then run "make check" to run these tests.
TEST COVERAGE
The code coverage report for the C++ tests uses LCOV. It is available
from http://ltp.sourceforge.net/. To generate your own HTML report,
from http://ltp.sourceforge.net/. To generate the HTML report,
first configure BIND 10 with:
./configure --with-lcov
The code coverage report for the Python tests uses coverage.py (aka
pycoverage). It is available from http://nedbatchelder.com/code/coverage/.
To generate the HTML report, first configure BIND 10 with:
./configure --with-pycoverage
Doing code coverage tests:
make coverage
Does the following:
Does the clean, perform, and report targets for C++ and Python.
make clean-coverage
Zeroes the lcov code coverage counters and removes the coverage HTML.
Zeroes the code coverage counters and removes the HTML reports
for C++ and Python.
make perform-coverage
Runs the C++ tests (using googletests framework).
Runs the C++ (using the googletests framework) and Python
tests.
make report-coverage
Generates the coverage HTML, excluding some unrelated headers.
The HTML reports are placed in a directory called coverage/.
Generates the coverage reports in HTML for C++ and Python.
make clean-cpp-coverage
Zeroes the code coverage counters and removes the HTML report
for the C++ tests.
make clean-python-coverage
Zeroes the code coverage counters and removes the HTML report
for the Python tests.
make report-cpp-coverage
Generates the coverage report in HTML for C++, excluding
some unrelated headers. The HTML reports are placed in a
directory called coverage/.
make report-python-coverage
Generates the coverage report in HTML for Python. The HTML
reports are placed in a directory called py-coverage-html/.
DEVELOPERS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment