From patchwork Tue Mar 24 17:32:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoine Tremblay X-Patchwork-Id: 5788 Received: (qmail 74273 invoked by alias); 24 Mar 2015 17:32:59 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 74202 invoked by uid 89); 24 Mar 2015 17:32:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 X-HELO: usevmg20.ericsson.net Received: from usevmg20.ericsson.net (HELO usevmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 24 Mar 2015 17:32:58 +0000 Received: from EUSAAHC004.ericsson.se (Unknown_Domain [147.117.188.84]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id FB.42.12456.B0A41155; Tue, 24 Mar 2015 12:27:07 +0100 (CET) Received: from elxa4wqvvz1.mo.ca.am.ericsson.se (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.84) with Microsoft SMTP Server (TLS) id 14.3.210.2; Tue, 24 Mar 2015 13:32:55 -0400 From: Antoine Tremblay To: , CC: Antoine Tremblay Subject: [PATCH] Fix mi-pending.exp test output to allow stable test diffing Date: Tue, 24 Mar 2015 13:32:48 -0400 Message-ID: <1427218368-5087-1-git-send-email-antoine.tremblay@ericsson.com> In-Reply-To: <55119A52.10301@redhat.com> References: <55119A52.10301@redhat.com> MIME-Version: 1.0 X-IsSubscribed: yes /* Not part of the commit comment This gives the following output : PASS: gdb.mi/mi-pending.exp: MI pending breakpoint on mi-pendshr.c:pendfunc2 if x==4 */ gdb/testsuite/ChangeLog: * gdb.mi/mi-pending.exp: Fix output of breakpoint test. --- gdb/testsuite/gdb.mi/mi-pending.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.mi/mi-pending.exp b/gdb/testsuite/gdb.mi/mi-pending.exp index e289cd9..88c6870 100644 --- a/gdb/testsuite/gdb.mi/mi-pending.exp +++ b/gdb/testsuite/gdb.mi/mi-pending.exp @@ -66,7 +66,7 @@ mi_gdb_test "-break-insert -f pendfunc1" \ # Set pending breakpoint with a condition via MI. mi_gdb_test "-break-insert -f -c x==4 ${libsrc1}:pendfunc2" \ ".*\\^done,bkpt=\{number=\"2\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"\",pending=\"${libsrc1}:pendfunc2\",cond=\"x==4\",times=\"0\",original-location=\"${libsrc1}:pendfunc2\"\}"\ - "MI pending breakpoint on ${libsrc1}:pendfunc2 if x==4" + "MI pending breakpoint on ${libfile1}.c:pendfunc2 if x==4" # Set breakpoint so that we can stop when the thread is created mi_gdb_test "-break-insert -f thread_func" \