Test File: sc/qa/unit/data/functions/fods/chiinv.fods: fails with Assertion

Alex McMurchy mcmurchy1917-libreoffice at yahoo.co.uk
Fri Sep 23 11:20:12 UTC 2016


On 22/09/16 21:52, Christian Lohmaier wrote:
> But if Alex' tree really is from September 1st, then it doesn't have
> the test files - you did revert the removal of the testfiles on Sept
> 16, but removed them already mid August...
>
> So unfortunately Alex' result are non-telling, as the problematic test
> files are not part of the checkout then.
All my compiles/tests picked up the test files and failed with 
chiinv.fods and minverse.fods only.

It was only when I compiled with

> make ENVCFLAGS="-mfpmath=sse -msse2" ENVCFLAGSCXX="-mfpmath=sse 
> -msse2" && make sc.check
that the compiles/tests were successful.

Just to be doubly sure I introduced an error into chiinv.fods and tested 
again - this test failed as expected.

I've now amended solenv/gbuild/platform/unxgcc.mk in my tree to include 
the flags -mfpmath and -msse2. Not sure whether this was the most 
appropriate place for the flags.

> gb_CFLAGS := \
>         $(gb_CFLAGS_COMMON) \
>         -fPIC \
>         -Wdeclaration-after-statement \
>         -Wshadow \
>         -mfpmath=sse \
>         -msse2 \
>
> gb_CXXFLAGS := \
>         $(gb_CXXFLAGS_COMMON) \
>         -fPIC \
>         -Wshadow \
>         -Woverloaded-virtual \
>         -mfpmath=sse \
>         -msse2 \
>         $(CXXFLAGS_CXX11) \

Tested it and it worked as expected. The test files passed. I again 
introduced an error into chiinv.fods and tested again - this test failed 
as expected.

Alex






More information about the LibreOffice mailing list