Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 08/19/2012 09:14 PM, John Smith wrote:
- First you run a plain make in the top level directory to build LO
(with analysis stuff enabled).
- then you create a 'baseline' with lcov (sort of create a 'before
snapshot' of LO)
- *then* you run all your tests (whatever they may be)
- then you re-run lcov to create an 'after snapshot'
- then you compare the 'before' and 'after' snapshots, and you can
tell what code was actually executed and therefore tested by your
tests.

Call me dumb, but what I don't understand is why you want to have the difference between the before and after snapshots, rather than the plain after snapshot.

Do you want to filter out any code that is executed "by accident" (as it belongs to tools we build and already execute at build time, say) rather than by dedicated tests?

In a sense, even during the tests, very much of our code is executed "by accident" rather than due to dedicated test code calling it: Especially the subsequentcheck stuff contains checks that are not simple unit tests, but start of a complete soffice.bin process, causing "unintended" testing of large parts of the infrastructure code anyway.

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.