Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On 08.05.2015 16:53, Miklos Vajna wrote:
On Fri, May 08, 2015 at 03:55:35PM +0200, Richard Cochran <richardcochran@gmail.com> wrote:
Ok, it is somehow related to the cross compile configuration.  The
'make cppunit.all' works as expected with a native build.

Isn't the very point of cross-compilation that the resulting binary is
not something you can run? If so, I find it a feature that unit tests
are not built / executed when cross-compiling. :-)

In any case:

if test "$cross_compiling" != "yes"; then
    libo_CHECK_SYSTEM_MODULE([cppunit],[CPPUNIT],[cppunit >= 1.12.0])
fi

in configure.ac where cppunit is disabled in case of cross-compiling.


the problem is that sal/Executable_cppunittester.mk had a different
conditional, it was wrongly checking for DESKTOP so it's not built on
Android/iOS but is built for any other cross-compilation target,

fixed on master with 26ebcb023ef3d38956085cbb39416e6f148ab351


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.