Thursday, July 10, 2008

Re: [HACKERS] Generating code coverage reports

Michelle Caisse <Michelle.Caisse@Sun.COM> writes:
> I have a patch that I will be submitting to add to the build system the
> capability of reporting on test code coverage metrics for the test
> suite.

Cool.

> To generate coverage statistics, you run configure with
> --enable-coverage and after building and running tests, you do make
> coverage. The process generates data files in the same directories as
> source & object files and produces a coverage directory at the top level
> with the html files.

How does that work with a VPATH build? Are you trying to say that you
still have to have the original build tree around in order to collect
coverage data?

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

No comments: