1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
>Test Coverage Examination</TITLE
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
10
HREF="mailto:pgsql-docs@postgresql.org"><LINK
12
TITLE="PostgreSQL 9.1beta1 Documentation"
13
HREF="index.html"><LINK
15
TITLE="Regression Tests"
16
HREF="regress.html"><LINK
18
TITLE="Variant Comparison Files"
19
HREF="regress-variant.html"><LINK
21
TITLE="Client Interfaces"
22
HREF="client-interfaces.html"><LINK
25
HREF="stylesheet.css"><META
26
HTTP-EQUIV="Content-Type"
27
CONTENT="text/html; charset=ISO-8859-1"><META
29
CONTENT="2011-04-27T21:20:33"></HEAD
35
SUMMARY="Header navigation table"
47
>PostgreSQL 9.1beta1 Documentation</A
56
TITLE="Variant Comparison Files"
57
HREF="regress-variant.html"
66
TITLE="Regression Tests"
74
>Chapter 30. Regression Tests</TD
80
TITLE="Regression Tests"
89
TITLE="Client Interfaces"
90
HREF="client-interfaces.html"
104
NAME="REGRESS-COVERAGE"
105
>30.4. Test Coverage Examination</A
108
> The PostgreSQL source code can be compiled with coverage testing
109
instrumentation, so that it becomes possible to examine which
110
parts of the code are covered by the regression tests or any other
111
test suite that is run with the code. This is currently supported
112
when compiling with GCC and requires the <TT
122
> A typical workflow would look like this:
125
>./configure --enable-coverage ... OTHER OPTIONS ...
127
gmake check # or other test suite
128
gmake coverage-html</PRE
130
Then point your HTML browser
133
>coverage/index.html</TT
138
> commands also work in subdirectories.
141
> To reset the execution counts between test runs, run:
144
>gmake coverage-clean</PRE
153
SUMMARY="Footer navigation table"
164
HREF="regress-variant.html"
182
HREF="client-interfaces.html"
192
>Variant Comparison Files</TD
206
>Client Interfaces</TD
b'\\ No newline at end of file'