Re: Disabling unit tests, redux

2013-12-18 Thread Markus Mohrhard
Hey,


On Wed, Dec 18, 2013 at 2:32 AM, Keith Curtis keit...@gmail.com wrote:

 I don't even know the names of the various modules I'm working in and
 prefer to let the smart system figure it out ;-) make build-nocheck works
 great and things run so much faster on my little laptop. Thank you. I put
 this info in the wiki to save questions in the future.


Please don't. There are good reasons we don't document building without the
tests. We had some problems in the past and normally force every developer
to execute the minimum amount of tests during a full build. While working
on some parts of the code you normally only rebuild this part which limits
the number of executed tests.

Regards,
Markus


 -Keith


 On Mon, Dec 16, 2013 at 1:33 AM, Khaled Hosny khaledho...@eglug.orgwrote:

 On Mon, Dec 16, 2013 at 12:56:59AM -0500, 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.

 It seems that ‘make foo.build’ will not run the tests, at least this is
 what I “discovered” few days ago.



 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Disabling unit tests, redux

2013-12-18 Thread Stephan Bergmann

On 12/18/2013 02:32 AM, Keith Curtis wrote:

I don't even know the names of the various modules I'm working in and
prefer to let the smart system figure it out ;-)


The module names match the top-level directory names, in case that 
wasn't obvious.  So if you do a change to e.g. 
desktop/source/app/app.cxx it suffices to make desktop to get instdir/ 
updated.


Stephan

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Disabling unit tests, redux

2013-12-18 Thread Michael Meeks

On Wed, 2013-12-18 at 09:20 +0100, Markus Mohrhard wrote:
 Please don't. There are good reasons we don't document building
 without the tests.

Indeed; this is/was the consensus of the ESC when this was last
discussed; we should not be advertising ways to disable the tests - they
are there for a reason.

Instead please build just the module you're concerned with.

Of course, profiles / patches welcome to speed them up =)

ATB,

Michael.

-- 
 michael.me...@collabora.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Disabling unit tests, redux

2013-12-18 Thread Keith Curtis
Okay, I took it out.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Disabling unit tests, redux

2013-12-17 Thread Keith Curtis
I don't even know the names of the various modules I'm working in and
prefer to let the smart system figure it out ;-) make build-nocheck works
great and things run so much faster on my little laptop. Thank you. I put
this info in the wiki to save questions in the future.

-Keith

On Mon, Dec 16, 2013 at 1:33 AM, Khaled Hosny khaledho...@eglug.org wrote:

 On Mon, Dec 16, 2013 at 12:56:59AM -0500, 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.

 It seems that ‘make foo.build’ will not run the tests, at least this is
 what I “discovered” few days ago.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Disabling unit tests, redux

2013-12-16 Thread Stephan Bergmann

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
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Disabling unit tests, redux

2013-12-15 Thread Keith Curtis
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.

-Keith
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Disabling unit tests, redux

2013-12-15 Thread Khaled Hosny
On Mon, Dec 16, 2013 at 12:56:59AM -0500, 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.

It seems that ‘make foo.build’ will not run the tests, at least this is
what I “discovered” few days ago.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice