From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79385 invoked by alias); 27 Apr 2016 17:58:02 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 78942 invoked by uid 89); 27 Apr 2016 17:58:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=news X-HELO: gproxy9-pub.mail.unifiedlayer.com Received: from gproxy9-pub.mail.unifiedlayer.com (HELO gproxy9-pub.mail.unifiedlayer.com) (69.89.20.122) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Wed, 27 Apr 2016 17:57:51 +0000 Received: (qmail 17290 invoked by uid 0); 27 Apr 2016 17:57:49 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy9.mail.unifiedlayer.com with SMTP; 27 Apr 2016 17:57:49 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id ncxg1s00A2f2jeq01cxjSh; Wed, 27 Apr 2016 18:57:46 -0600 X-Authority-Analysis: v=2.1 cv=Maz/5fPf c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=PnD2wP_eR3oA:10 a=_v2sUkyEFrwA:10 a=kziv93cY1bsA:10 a=ZPdRT2rQRNEcj-gESh8A:9 Received: from [71.215.116.141] (port=59142 helo=pokyo) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2) (envelope-from ) id 1avTiZ-00046O-5c; Wed, 27 Apr 2016 11:57:43 -0600 From: Tom Tromey To: Pedro Alves Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH 4/8] Add self-test framework to gdb References: <1461725371-17620-1-git-send-email-tom@tromey.com> <1461725371-17620-5-git-send-email-tom@tromey.com> <5720A527.2010609@redhat.com> Date: Wed, 27 Apr 2016 17:58:00 -0000 In-Reply-To: <5720A527.2010609@redhat.com> (Pedro Alves's message of "Wed, 27 Apr 2016 12:40:23 +0100") Message-ID: <8760v3c4to.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 71.215.116.141 authed with tom+tromey.com} X-SW-Source: 2016-04/txt/msg00603.txt.bz2 >> In development mode, test functions are registered with the self test >> module. A test function is just a function that does some checks, and >> aborts on failure. I chose this rather than something fancier because >> I think any such failure will require debugging anyhow. Pedro> IIUC, it'll internal error, not abort/crash directly, right? Yes. Pedro> Could you include a NEWS change for "maintenance selftest" ? I did this for v2. Tom