https://bugs.freedesktop.org/show_bug.cgi?id=46723

             Bug #: 46723
           Summary: EasyHack: enable configmgr unit tests ...
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


So... the configmgr code has an existing unit test, but this test is not used
for anything, which is a shame - since it does some nice multi-threaded access
test and would provide a base to extend these tests.

One reason for this disablement is that the UNO-ness it requires has been
traditionally required takes -so- much lifting to bootstrap and startup.

Nowadays much of this pain has already been pre-suffered, so we should be able
to take a unit test makefile eg.

sc/CppUnitTest_sc_ucalc.mk

and adapt it to configmgr/ - hooking the test into Module_configmgr.mk - cf.
the sc/ module.

Of course we need to cut out a big scad of components needed to run the test,
and remove almost all of the linked_libs [ check configmgr/prj/build.lst to see
what libraries we know are compiled beforehand ].

Possibly if there are dependency issues we want to make this a 'slowcheck'
target, that we know will be built rather later in the process.

Then we want to enable the configmgr/qa/unit/unit.cxx test - remove the version
map in there, and try to make it complete :-)

Help / incremental patches towards that much appreciated.

Thanks.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to