<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 24, 2015 at 6:18 AM, Bjoern Michaelsen <span dir="ltr"><<a href="mailto:bjoern.michaelsen@canonical.com" target="_blank">bjoern.michaelsen@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Jul 24, 2015 at 11:52:54AM +0200, Noel Grandin wrote:<br>
><br>
> On 2015-07-23 01:32 PM, Jack wrote:<br>
> >Can somebody help me building LibreOffice(Ubuntu) without running any tests?<br>
><br>
> $ make build-nocheck<br>
<br>
</span>Yes, but ... why?[1]<br>
<br></blockquote><div><br></div><div>Obviously not a good thing to do by default, but there are some reasonable cases for it. (These are my reasons, not necessarily the OP's.)<br><br></div><div>If you don't expect the tests to pass (yet) then there is no point in running them after every build cycle.<br></div><div>Also, if someone else broke the tests (a recent experience) but you need to work on some unrelated patch (or build a branch to play with a feature or patch).<br><br></div><div>Another reason is when debugging or bisecting. For the former, I often add specialized code to help me debug or find/discover something.<br>I want fast build/debug cycles in this case, without waiting for unit-tests. Ditto for bisecting.<br></div><div><br></div><div>The unittests take a considerable time to run, and selectively excluding them when running them won't help can help productivity.</div><br></div><div class="gmail_quote">Otherwise, the defaults are great.<br><br></div><div class="gmail_quote"><div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Best,<br>
<br>
Bjoern<br>
<br>
[1] Not running tests is not suppossed to be a desireable build scenario.<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div><br></div></div>