Re: CppunitTest_sw_ooxmlexport4 failing with --disable-pch on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 11.07.2020 2:35, Mike Kaganski wrote:
> In current master (at least a week, and still the same after pull just
> now) I see 100% reproducible failure of make CppunitTest_sw_ooxmlexport4:
> 
>> $ /opt/lo/bin/make CppunitTest_sw_ooxmlexport4
>> ...
>> test_Tdf115030::Load_Reload_Verify finished in: 1500ms
>> C:/lo/src/core/test/source/xmltesttools.cxx(194) : error : Assertion
>> Test name: testComboBoxControl::Load_Reload_Verify
>> equality assertion failed
>> - Expected: manolo
>> - Actual  : Manolo
>> - In <file:///C:/cygwin64/tmp/lu23416a8g0y3.tmp>, XPath contents of child does not match
>>
>> Failures !!!
>> Run: 85   Failure total: 1   Failures: 1   Errors: 0
> 
> This test succeeds normally though, when run individually:
> 
>> $ /opt/lo/bin/make CppunitTest_sw_ooxmlexport4 CPPUNIT_TEST_NAME=testComboBoxControl
> 
> I was able to narrow down the problem to --disable-pch in my config.

I had played with the includes from PCH, and could find out that
including <boost/iterator/iterator_concepts.hpp> in the beginning of
sw/qa/extras/ooxmlexport/ooxmlexport4.cxx allows the test to pass. I
couldn't limit the includes further: only including what's included
inside that boost header does not allow the test to pass. But I don't
understand what does that mean (some ODR violation? some missing virtual
overridden function?...), and don't see where to look next. Does someone
have any ideas?

Thanks.

-- 
Best regards,
Mike Kaganski

Attachment: pEpkey.asc
Description: application/pgp-keys

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux