CppunitTest_sw_ooxmlexport4 failing with --disable-pch on Windows

Miklos Vajna vmiklos at collabora.com
Wed Jul 22 08:24:00 UTC 2020


On Wed, Jul 22, 2020 at 10:18:44AM +0200, Stephan Bergmann <sbergman at redhat.com> wrote:
> the order happens to change to 2, 1, 3.  Note how tests 2 and 3 modify
> global state, which presumably makes a different for the (failing) test 1.
> Serge, can you see to get that fixed?

There is a Resetter / preTest() mechanism at
sw/qa/inc/swmodeltestbase.hxx:267, perhaps you can use that to
automatically undo your changes to the global state after the test.



More information about the LibreOffice mailing list