Bug 38840 - Adding coverage analysis to unit tests
mstahl at redhat.com
Fri Aug 24 03:32:52 PDT 2012
On 24/08/12 12:11, John Smith wrote:
> On Thu, Aug 23, 2012 at 8:41 PM, Michael Stahl <mstahl at redhat.com> wrote:
>> so looking at a few bits where i'm familiar with the tests tests like:
>> it seems quite plausible.
>> but looking at
>> some functions that are definitely tested like
>> librdf_Repository::querySelect or CNode::insertBeforeshow up entirely
> I did have one test fail. See the 'make check failure' thread:
> Could that explain the omission ?
of course it could, i wasn't connecting those threads :)
>> are you running the JUnit based tests as well? i.e. if you use
>> --without-java or --without-junit, that would negatively affect the test
> Im not excluding java or junit. My full configure line is :
> LDFLAGS+='-fprofile-arcs' CFLAGS+='-fprofile-arcs -ftest-coverage' \
> CXXFLAGS+='-fprofile-arcs -ftest-coverage' CPPFLAGS+='-fprofile-arcs
> -ftest-coverage' \
> ../configure --disable-odk --with-system-libcmis=no --with-system-hsqldb=no \
> --with-system-saxon=no --with-system-libs
>> these are run during "make subsequentcheck", you should have files like
> Yes, I have a few of those.
ok then i guess the test wasn't run because of the previous failure; if
that failure happens every time for you, then you can disable the test
locally by commenting out the line sc.ScAccessiblePageHeaderArea in
sc/qa/unoapi/sc.sce and try again.
More information about the LibreOffice