[svn] commit: r3628 - in /branches/trac362: ChangeLog README
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Nov 23 15:48:08 UTC 2010
Author: jreed
Date: Tue Nov 23 15:48:07 2010
New Revision: 3628
Log:
Add some docs to README about new targets.
Add brief changelog entry.
Modified:
branches/trac362/ChangeLog
branches/trac362/README
Modified: branches/trac362/ChangeLog
==============================================================================
--- branches/trac362/ChangeLog (original)
+++ branches/trac362/ChangeLog Tue Nov 23 15:48:07 2010
@@ -1,3 +1,7 @@
+ 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)
Modified: branches/trac362/README
==============================================================================
--- branches/trac362/README (original)
+++ branches/trac362/README Tue Nov 23 15:48:07 2010
@@ -93,25 +93,49 @@
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
More information about the bind10-changes
mailing list