[Libreoffice] cppunit test fails in lotuswordpro / breaks the build on Mac/PPC

Rafael Dominguez venccsralph at gmail.com
Sun May 8 04:50:57 PDT 2011


On Sun, May 8, 2011 at 6:10 AM, Christian Lohmaier <
lohmaier+libreoffice at googlemail.com> wrote:

> Hi *,
>
> On Tue, Apr 26, 2011 at 11:15 PM, Christian Lohmaier
> <lohmaier+libreoffice at googlemail.com> wrote:
> >
> > does anyone have an idea on what goes wrong here?
> > [...]
> > Assertion
> > Test name: (anonymous namespace)::LotusWordProTest::test
> > assertion failed
> > - Expression: bRes == bExpected
> > -
> file:///Users/buildslave/compile/libreoffice/clone/filters/lotuswordpro/qa/cp
> > punit/data/pass/A14.lwp
> > [...]
>
> Turns out that the cppunit test is right in that the filter cannot
> load the document.
> When disabling (skipping) the cppunit test in the makefile, the build
> can continue.
>
> When trying to open the A14.lwp file (or any other lwp file in the
> data-directory), it fails with the nontelling
>
> "General Error
> General input/output error"
>
> message . and despite having lotuswordpro compiled with debug=true
> nothing is printed to the terminal.
>
> Does it work on linux/PPC - AKA could it be an endianess issue like
> Norbert guessed on IRC?
>
> ciao
> Christian
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>

Well you can attach the debugger for the test with

export GDBCPPUNITTRACE="gdb --args" and then get a backtrace of the issue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110508/72a2fb5d/attachment.htm>


More information about the LibreOffice mailing list