top level make build is executing unit tests
Matúš Kukan
matus.kukan at gmail.com
Sun Mar 25 09:44:03 PDT 2012
Hello Markus, all
On 25 March 2012 16:37, Markus Mohrhard <markus.mohrhard at googlemail.com> wrote:
> right now a top level make build is executing unit tests again. Is
> this behavior really expected? It makes it quite hard to execute a
> full rebuild while working on new tests.
Toplevel's make build is different from the modules' make build.
_For me_ it's more like: do only build LibreOffice without installing.
But of course it could also mean without running tests.
For now, I created patch, which allows you to build what you want in
module. (when the make is triggered by build.pl)
Default is: make all slowcheck # all="build unitcheck"
You need to set gb_MAKETARGET like this:
make gb_MAKETARGET=build all
make gb_MAKETARGET="unitcheck slowcheck" # prolly does not make sense
make gb_MAKETARGET=build tools.all
or whatever you want.
Of course we can automatically set gb_MAKETARGET=build when running
toplevel's make build
if people don't use it like it was the same as 'make all' and was
supposed to mean:
build LibreOffice without dev-installing and running subsequent checks.
If there is input from people to tell how we should set targets, .., I
think we can do ~anything.
Best,
Matúš
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-The-return-of-gb_MAKETARGET-allows-us-to-set-build-t.patch
Type: text/x-patch
Size: 1457 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120325/d7045799/attachment.bin>
More information about the LibreOffice
mailing list