From owner-freebsd-current@FreeBSD.ORG Sun Jun 8 17:50:40 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE42BF55; Sun, 8 Jun 2014 17:50:40 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7EE0029C0; Sun, 8 Jun 2014 17:50:40 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s58HocTu011424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 8 Jun 2014 11:50:38 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s58HocRv011421; Sun, 8 Jun 2014 11:50:38 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 8 Jun 2014 11:50:38 -0600 (MDT) From: Warren Block To: Julio Merino Subject: Re: Turning TESTS on by default In-Reply-To: Message-ID: References: <20140607033334.GO3991@kib.kiev.ua> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 08 Jun 2014 11:50:38 -0600 (MDT) Cc: Konstantin Belousov , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2014 17:50:40 -0000 On Sun, 8 Jun 2014, Julio Merino wrote: > On Fri, Jun 6, 2014 at 11:33 PM, Konstantin Belousov > 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.