Unit Test: CppunitTest_sc_opencl_test failing on Windows

Luke Benes lukebenes at hotmail.com
Sun Oct 20 16:39:08 UTC 2019


After https://cgit.freedesktop.org/libreoffice/core/commit/?id=4ee424b3ddc6
    Pre-allocate an ScInterpreter object for each thread...

Both 32 and 64-bit windows builds are failing with the following error:
D:/lode/dev/core/sc/qa/unit/opencl-test.cxx(573) : error : Assertion
Test name: ScOpenCLTest::testCompilerNested
double equality assertion failed
- Expected: 629
- Actual  : 609
- Delta   : 0.0629

D:/lode/dev/core/sc/qa/unit/opencl-test.cxx(590) : error : Assertion
Test name: ScOpenCLTest::testCompilerString
double equality assertion failed
- Expected: 2
- Actual  : 1
- Delta   : 0.0002

D:/lode/dev/core/sc/qa/unit/opencl-test.cxx(611) : error : Assertion
Test name: ScOpenCLTest::testCompilerInEq
double equality assertion failed
- Expected: 2
- Actual  : 4
- Delta   : 0.0002

Failures !!!
Run: 223   Failure total: 3   Failures: 3   Errors: 0


You can limit the execution to just one particular test by:

make CppunitTest_sc_opencl_test CPPUNIT_TEST_NAME="testXYZ"


Dennis, Could you take a look at this?

Thanks!


More information about the LibreOffice mailing list