<?xml version="1.0"?>
<document>
  <properties>
    <author email="dev@apr.apache.org">APR Developers</author>
    <title>Test Coverage</title>
  </properties>
<body>
<section id="coverage">
<title>APR Test Coverage</title>

<p>This should give us some idea of how well our tests actually stress our
code.  To generate this data, do the following:</p>

<blockquote><pre>
./buildconf
CFLAGS="-fprofile-arcs -ftest-coverage" ./configure
make
cd test
make
./testall
cd ..
make gcov
</pre></blockquote>

<p>Note that this will only generate test coverage data for the
<code>testall</code> script, but all tests should be moving to the
unified framework, so this is correct.</p>

<ssinclude src="coverage/coverage.part.html"/>
</section>
</body>
</document>

