Test name: testSectionProtection::Import_Export_Import equality assertion failed (CppunitTest_sw_ooxmlexport5)

Noel Grandin noelgrandin at gmail.com
Fri Apr 3 07:07:36 PDT 2015


This appears to be a bug in older versions of the xpath library. I have a
patch but I won't get around to committing it until Tuesday. Mstahl may
beat me to it :)

For now just ignore it.

On Friday, 3 April 2015, David Gerard <dgerard at gmail.com> wrote:

> I routinely run LO master, compiled from source (because I can). I run
> Xubuntu 14.04.
>
> On my old laptop (which has successfully compiled LO from git for the
> past year or so), I was getting this error:
>
> ====
> xmltesttools.cxx:70:Assertion
> Test name: testSectionProtection::Import_Export_Import
> equality assertion failed
> - Expected: 1
> - Actual  : 2
> - In <file:///tmp/lu1i6q7w.tmp>, XPath '//w:formProt[1]' number of
> nodes is incorrect
>
> Failures !!!
> Run: 106   Failure total: 1   Failures: 1   Errors: 0
>
> Error: a unit test failed, please do one of:
>
> export DEBUGCPPUNIT=TRUE            # for exception catching
> export CPPUNITTRACE="gdb --args"    # for interactive debugging on Linux
> export VALGRIND=memcheck            # for memory checking
>
> and retry using: make CppunitTest_sw_ooxmlexport5
>
> make[1]: ***
> [/home/fun/libreoffice/workdir/CppunitTest/sw_ooxmlexport5.test]
> Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [build] Error 2
> ====
>
> I tried "make clean" (just in case of artifacts messing something up),
> tried again and it still happened.
>
> As it happened I got a new laptop yesterday, fresh Xubuntu, git cloned
> LO afresh and tried again ... and got the same error. This has been
> happening since Wednesday evening or so.
>
> I presume because it hasn't been fixed that it's not happening for
> everyone. Is it happening for anyone else?
>
> I note this commit by Miklos Vajna, related to this error:
>
>
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=3a54090f1ef4469cf824fcdb22c100c49d2ab7db
> CppunitTest_sw_ooxmlexport5: try to make MacOSX_37-tdf-buildbot happy
>
> Presumably this was to fix the same problem on MacOSX.
>
> So ... what's going on with my setup? (I have both laptops here for
> the weekend and can test stuff.)
>
>
> - d.
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org <javascript:;>
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150403/6abf8821/attachment.html>


More information about the LibreOffice mailing list