From patchwork Wed Jun 14 18:57:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Burgess X-Patchwork-Id: 21025 Received: (qmail 84206 invoked by alias); 14 Jun 2017 18:58:01 -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 84074 invoked by uid 89); 14 Jun 2017 18:58:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=disp, del X-HELO: mail-wr0-f173.google.com Received: from mail-wr0-f173.google.com (HELO mail-wr0-f173.google.com) (209.85.128.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Jun 2017 18:57:59 +0000 Received: by mail-wr0-f173.google.com with SMTP id 36so13000806wry.3 for ; Wed, 14 Jun 2017 11:58:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=FSiMJ5lorw25k78C8OI/Hf+HpDI17VLYGpv9ol5eHA8=; b=fAkVH3jTK71JSS3Y16dDpNQgO5opE695peA9e4jY+k1LIbdn9FBbRPXBTIqHwZ5YMx 0eB+tieIqxEH8auP4vF/juFBaXJKEsxtQSpLWcx+Rff8kf5mfQD+3My7PhieXvwmFTCw Xs8cjcUrTqbW3+xGnuj8PmHzu1J7pK8DoFUncKTIy30LNMhq5O85jkx6T9NNjQX7cCG4 XcZXPXA0yxzbNs1n7MtiPD8xWbzYp+cOrknvduj1Uudlg+YHUxA4qXjg2BSSugUM9W07 9M38XzppBFf6S9kB6usXKVSUMZwhRdB697B2+elin2t5IJ1JEwnmgObFHM6sLAMavY7a MdwQ== X-Gm-Message-State: AKS2vOxv0PiuEs2P8dIR6tulN67x5sG2vFwi8uaKK0Q2oRlbRHxrsSzK Z6xDxojzDVtdSRKUYkM= X-Received: by 10.28.10.78 with SMTP id 75mr983942wmk.66.1497466682048; Wed, 14 Jun 2017 11:58:02 -0700 (PDT) Received: from localhost (cust64-dsl91-135-5.idnet.net. [91.135.5.64]) by smtp.gmail.com with ESMTPSA id m187sm939891wmb.10.2017.06.14.11.58.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 11:58:01 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PATCH 2/2] gdb: Make some test names unique Date: Wed, 14 Jun 2017 19:57:39 +0100 Message-Id: In-Reply-To: References: In-Reply-To: References: X-IsSubscribed: yes Make sure all of the tests have unique names in gdb.mi/mi-vla-fortran.exp. gdb/testsuite/ChangeLog: * gdb.mi/mi-vla-fortran.exp: Make test names unique. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.mi/mi-vla-fortran.exp | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/gdb/testsuite/gdb.mi/mi-vla-fortran.exp b/gdb/testsuite/gdb.mi/mi-vla-fortran.exp index 7b40aba..22e2bce 100644 --- a/gdb/testsuite/gdb.mi/mi-vla-fortran.exp +++ b/gdb/testsuite/gdb.mi/mi-vla-fortran.exp @@ -44,7 +44,7 @@ mi_run_cmd mi_expect_stop "breakpoint-hit" "vla" "" ".*vla.f90" "$bp_lineno" \ { "" "disp=\"del\"" } "run to breakpoint at line $bp_lineno" mi_gdb_test "500-data-evaluate-expression vla1" \ - "500\\^done,value=\"\"" "evaluate not allocated vla" + "500\\^done,value=\"\"" "evaluate not allocated vla at line $bp_lineno" mi_create_varobj_checked vla1_not_allocated vla1 "" \ "create local variable vla1_not_allocated" @@ -95,7 +95,7 @@ mi_run_cmd mi_expect_stop "breakpoint-hit" "vla" "" ".*vla.f90" "$bp_lineno" \ { "" "disp=\"del\"" } "run to breakpoint at line $bp_lineno" mi_gdb_test "520-data-evaluate-expression vla1" \ - "520\\^done,value=\"\\(1, 1, 1, 1, 1\\)\"" "evaluate filled vla" + "520\\^done,value=\"\\(1, 1, 1, 1, 1\\)\"" "evaluate filled vla at line $bp_lineno" set bp_lineno [gdb_get_line_number "vla1-modified"] @@ -106,13 +106,13 @@ mi_run_cmd mi_expect_stop "breakpoint-hit" "vla" "" ".*vla.f90" "$bp_lineno" \ { "" "disp=\"del\"" } "run to breakpoint at line $bp_lineno" mi_gdb_test "530-data-evaluate-expression vla1" \ - "530\\^done,value=\"\\(1, 42, 1, 24, 1\\)\"" "evaluate filled vla" + "530\\^done,value=\"\\(1, 42, 1, 24, 1\\)\"" "evaluate filled vla at line $bp_lineno" mi_gdb_test "540-data-evaluate-expression vla1(1)" \ - "540\\^done,value=\"1\"" "evaluate filled vla" + "540\\^done,value=\"1\"" "evaluate filled vla(1)" mi_gdb_test "550-data-evaluate-expression vla1(2)" \ - "550\\^done,value=\"42\"" "evaluate filled vla" + "550\\^done,value=\"42\"" "evaluate filled vla(2)" mi_gdb_test "560-data-evaluate-expression vla1(4)" \ - "560\\^done,value=\"24\"" "evaluate filled vla" + "560\\^done,value=\"24\"" "evaluate filled vla(4)" set bp_lineno [gdb_get_line_number "vla1-deallocated"] @@ -123,7 +123,7 @@ mi_run_cmd mi_expect_stop "breakpoint-hit" "vla" "" ".*vla.f90" "$bp_lineno" \ { "" "disp=\"del\"" } "run to breakpoint at line $bp_lineno" mi_gdb_test "570-data-evaluate-expression vla1" \ - "570\\^done,value=\"\"" "evaluate not allocated vla" + "570\\^done,value=\"\"" "evaluate not allocated vla at line $bp_lineno" set bp_lineno [gdb_get_line_number "pvla2-not-associated"]