Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2014 11:50:38 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Julio Merino <jmmv@freebsd.org>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Turning TESTS on by default
Message-ID:  <alpine.BSF.2.00.1406081145280.11322@wonkity.com>
In-Reply-To: <CAFY7cWDWSUSYQ01ycnW4Tj4pvDJuBO62Zt_LOJnK66NaJQt_%2BQ@mail.gmail.com>
References:  <CAFY7cWB=BOKWh4gK=wwgvhnAoVUuVBOEqk08nXeo7eWwMguZzw@mail.gmail.com> <20140607033334.GO3991@kib.kiev.ua> <CAFY7cWDWSUSYQ01ycnW4Tj4pvDJuBO62Zt_LOJnK66NaJQt_%2BQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Jun 2014, Julio Merino wrote:

> On Fri, Jun 6, 2014 at 11:33 PM, Konstantin Belousov
> <kostikbel@gmail.com> wrote:
>> It is the same as the debugging kernel. The INVARIANTS, WITNESS, DEBUG
>> and DIAGNOSTIC options are not enabled for the user consumption.
>
> No; this is not the same at all. All the options you mention introduce
> a performance penalty on the system at *run* time and the _only_ way
> to get rid of such penalty completely is to disable the options at
> *build* time (sysctl doesn't make the cut because the system would
> still need to check a boolean value). Because these toggles affect
> run-time performance, and because they are intended for developers
> only, they are not the default on release builds.
>
> Building the test suite has no impact whatsoever on the system at
> run-time. The test suite is just a bunch of files in a self-contained
> location. We ought to ship such files as tests.tgz to give users a
> very easy way of not installing them though.

How much of an impact does the test suite have in terms of disk space 
(probably not much) and buildworld time (possibly not much, either)?

Users being able to report the results of tests could demystify a lot of 
bug reports.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1406081145280.11322>