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


On 12/16/2013 06:56 AM, Keith Curtis wrote:
It appears when making changes to individual C++ files that my computer
spends about 90% of the build time running unit tests.

I tried make -sr all to disable them, but it still ran lots:
http://lists.freedesktop.org/archives/libreoffice/2011-March/009422.html

I tried hacking on the makefile but got lost. Can this shortcut be
re-enabled or is there a new way now? Sometimes, you just want to add a
printf. The build process works great otherwise.

* When you just add a debugging printf to some .cxx file in module foo, you can do "make foo" instead of just "make" to only rebuild module foo, which usually suffices today to get the effect into the instdir installation.

* For debugging purposes, note that there is SAL_DEBUG with added usefulness compared to printf.

* If all else fails, there appears to be "make build-nocheck".

Stephan

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.