Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2012 00:26:41 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        attilio@FreeBSD.org, Ian Lepore <freebsd@damnhippie.dyndns.org>, Adrian Chadd <adrian@FreeBSD.org>, freebsd-arch@FreeBSD.org, freebsd-hackers@FreeBSD.org
Subject:   Re: [RFQ] make witness panic an option
Message-ID:  <50A5F8C1.6010700@mu.org>
In-Reply-To: <50A5E9B4.5040807@FreeBSD.org>
References:  <CAJ-Vmo=i=Amo_QqHi4GnGie0Gc0YnK3XaRKjvBO-=SFboFYPmA@mail.gmail.com> <1353001175.1217.153.camel@revolution.hippie.lan> <CAJ-FndBP5Pi=SCpyBLK3b=HM_gQ9u8M4%2B1tLk9tA5X-gqismVA@mail.gmail.com> <1353009310.1217.172.camel@revolution.hippie.lan> <CAJ-Vmo=S3a1pyLHOe%2BSayVNDe=mAogQnkNpnSTakpOm56EdOUQ@mail.gmail.com> <50A555BD.1010105@FreeBSD.org> <50A578A6.1030005@mu.org> <50A5E9B4.5040807@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/15/12 11:22 PM, Andriy Gapon wrote:
> on 16/11/2012 01:20 Alfred Perlstein said the following:
>> We need to enable developers to skip these areas and test their own code.
> I wish that there was a magic knob to ignore build breakages, so that the
> developers could test how their own code compiles :-)
There is, it's called updating to known good tinderbox build and basing 
changes off of that.
>
> On a serious note, why stop here?  E.g. Solaris seems to have knob to ignore all
> asserts (just to print a message, but not panic).
>
There is no reason why not to add such a thing, in fact it would be 
really handy for some of our users who need asserts, but sometimes can't 
clean up the entire code base.

Adding another option to tag asserts so that it was sort of like:

KASSERT((cond, section, "string")); would be interesting, then you could 
turn KASSERTS on based on "vfs" or possibly file by file.

-Alfred



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A5F8C1.6010700>