Bug 38840 - Adding coverage analysis to unit tests
bjoern.michaelsen at canonical.com
Sun Aug 19 12:03:23 PDT 2012
On Sun, Aug 19, 2012 at 08:51:16PM +0200, John Smith wrote:
> Im playing around with gcov/lcov coverage analysis for a bit, and one
> of the things im running into/wondering about is what 'tests' should
> be run ? I believe there are a few 'make targets' that sound like good
> candidates, but which one to run ? Is 'make check' enough ? Or should
> I (also/instead) run 'make unitcheck' and 'make slowcheck' ? Or any
> others ?
We you run plain make in a module, it the default target already runs the
unitcheck target. If you run make from the top-level, it also runs slowcheck.
If you are doing really tricky work (like changing a very lowlevel class), I
would recommend to also run 'make subsequentcheck' -- or at least closely watch
the Linux-RHEL6-x86_64_14-with-check tinderbox that runs these tests too (as
you can see from all the [ build SCK ] in its log.
More information about the LibreOffice