[Libreoffice] Disabling unit tests building?
bjoern.michaelsen at canonical.com
Mon Mar 21 10:34:03 PDT 2011
On Mon, 21 Mar 2011 13:48:19 +0100
Lubos Lunak <l.lunak at suse.cz> wrote:
> how can I disable the unit tests that are run every single time I
> rebuild e.g. Writer? I find them pretty annoying, they at least
> quadruple the build time every time I do a change (and they must be
> pretty useless when it comes to verifying the debug output I added as
> the change).
In the gbuild build system, the default goal is "allandcheck", which
itself depends on "all" (building) and "check" (running unit tests).
You currently can:
- only run the tests with "make -sr check"
- only build the stuff without any testing with "make -sr all"
We clearly want to run unittest by default. It might make sense to
rename the current "all" target to "buildonly" and "allandcheck" to
"all" to be more explicit. The GNU make conventions are unclear if
checks should be run by the default target (However, they are clear on
that the default target should be "all" -- which we currently violate):
Im open for opinions on this.
The logic for this is in solenv/gbuild/Module.mk.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 490 bytes
Desc: not available
More information about the LibreOffice