1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Expand test coverage support to entire tree

Test coverage support now covers the entire source tree, including
contrib, instead of just src/backend.  In a related but independent
development, the commands make coverage and make coverage-html can be run
in any directory.

This turned out to be much easier than feared.  Besides a few ad hoc fixes
to pass the make target down the tree, change all affected makefiles to
list their directories in the SUBDIRS variable, changed from variants like
DIRS and WANTED_DIRS.  MSVC build fix was attempted as well.
This commit is contained in:
Peter Eisentraut
2009-08-07 20:50:22 +00:00
parent e605fbcccd
commit 7798147a76
12 changed files with 57 additions and 62 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.63 2009/04/27 16:27:36 momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.64 2009/08/07 20:50:21 petere Exp $ -->
<chapter id="regress">
<title id="regress-title">Regression Tests</title>
@ -476,6 +476,7 @@ gmake coverage-html
</screen>
Then point your HTML browser
to <filename>coverage/index.html</filename>.
The <command>gmake</command> commands also work in subdirectories.
</para>
<para>