From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87957 invoked by alias); 29 Apr 2016 15:13:40 -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 87947 invoked by uid 89); 29 Apr 2016 15:13:39 -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=Hx-languages-length:512 X-HELO: gproxy6-pub.mail.unifiedlayer.com Received: from gproxy6-pub.mail.unifiedlayer.com (HELO gproxy6-pub.mail.unifiedlayer.com) (67.222.39.168) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Fri, 29 Apr 2016 15:13:29 +0000 Received: (qmail 30166 invoked by uid 0); 29 Apr 2016 15:13:27 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy6.mail.unifiedlayer.com with SMTP; 29 Apr 2016 15:13:27 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id oNDK1s00m2f2jeq01NDNvd; Fri, 29 Apr 2016 16:13:24 -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=SINl9mLy8P7lqA-Ac2AA:9 Received: from [71.215.116.141] (port=50710 helo=pokyo) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2) (envelope-from ) id 1awA6c-00058g-K7; Fri, 29 Apr 2016 09:13:22 -0600 From: Tom Tromey To: Yao Qi Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH v2 3/8] Add self-test framework to gdb References: <1461789279-15996-1-git-send-email-tom@tromey.com> <1461789279-15996-4-git-send-email-tom@tromey.com> <86wpnido3w.fsf@gmail.com> Date: Fri, 29 Apr 2016 15:13:00 -0000 In-Reply-To: <86wpnido3w.fsf@gmail.com> (Yao Qi's message of "Thu, 28 Apr 2016 11:28:03 +0100") Message-ID: <877ffgbg8h.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/msg00655.txt.bz2 Yao> I'd like the framework to only run tests from one module in one gdb Yao> instance, restart gdb after they are finished, and continue running Yao> tests from other modules. For example, we have registered three self Yao> tests in different modules, Sounds reasonable. It would also be possible to use exceptions rather than asserts. Then the current single command could be kept, since gdb wouldn't abort on failure. Let me know which you'd prefer. Tom