From patchwork Fri Jul 4 05:58:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Krisman Bertazi X-Patchwork-Id: 1919 Received: (qmail 28849 invoked by alias); 4 Jul 2014 05:58:00 -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 28837 invoked by uid 89); 4 Jul 2014 05:57:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=BAYES_05, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.2 X-HELO: layla.krisman.be Received: from layla.krisman.be (HELO layla.krisman.be) (176.31.208.35) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 04 Jul 2014 05:57:58 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (envelope-from ) id 1X2wUf-0000X9-JU; Fri, 04 Jul 2014 07:57:10 +0200 From: Gabriel Krisman Bertazi To: gdb-patches@sourceware.org Cc: Gabriel Krisman Bertazi Subject: [PATCH] Fix gdb.fortran/array-element.exp failures. Date: Fri, 4 Jul 2014 02:58:07 -0300 Message-Id: <1404453487-20108-1-git-send-email-gabriel@krisman.be> X-IsSubscribed: yes This fixes two FAIL results when running this test file due to a misplaced "continue" command, which caused the inferior to end execution prematurely. Before, we had: FAIL: gdb.fortran/array-element.exp: continue to breakpoint once again (the program exited) FAIL: gdb.fortran/array-element.exp: print the second element of array a === gdb Summary === # of expected passes 3 # of unexpected failures 2 This gives us: === gdb Summary === # of expected passes 4 2014-07-04 Gabriel Krisman Bertazi * gdb.fortran/array-element.exp: Remove wrong "continue" command that caused test to fail. --- gdb/testsuite/gdb.fortran/array-element.exp | 3 --- 1 file changed, 3 deletions(-) diff --git a/gdb/testsuite/gdb.fortran/array-element.exp b/gdb/testsuite/gdb.fortran/array-element.exp index 579db03..3c87790 100644 --- a/gdb/testsuite/gdb.fortran/array-element.exp +++ b/gdb/testsuite/gdb.fortran/array-element.exp @@ -41,8 +41,5 @@ gdb_test "continue" \ "continue to breakpoint" gdb_test "print a(1)" ".*1 = 1.*" "print the first element of array a" -gdb_test "continue" \ - "Continuing\\..*Breakpoint.*" \ - "continue to breakpoint once again" gdb_test "print a(2)" ".*2 = 2.*" "print the second element of array a"