On 24/08/12 12:11, John Smith wrote:
On Thu, Aug 23, 2012 at 8:41 PM, Michael Stahl <mstahl@redhat.com> wrote:
so looking at a few bits where i'm familiar with the tests tests like:
http://dev-builds.libreoffice.org/lcov_reports/master~2012-08-22_09.11.23/sax/source/tools/converter.cxx.gcov.html
it seems quite plausible.
but looking at
http://dev-builds.libreoffice.org/lcov_reports/master~2012-08-22_09.11.23/unoxml/source/dom/node.cxx.gcov.html
http://dev-builds.libreoffice.org/lcov_reports/master~2012-08-22_09.11.23/unoxml/source/rdf/librdf_repository.cxx.gcov.html
some functions that are definitely tested like
librdf_Repository::querySelect or CNode::insertBeforeshow up entirely
un-executed.
I did have one test fail. See the 'make check failure' thread:
http://nabble.documentfoundation.org/make-check-failure-td4002979.html
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
coverage.
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
workdir/*/JunitTest/unordf_complex/done.log.
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.
Context
- Re: Bug 38840 - Adding coverage analysis to unit tests (continued)
Re: Bug 38840 - Adding coverage analysis to unit tests · Stephan Bergmann
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.