From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 8vVjB8sRb2A6EgAAWB0awg (envelope-from ) for ; Thu, 08 Apr 2021 10:23:07 -0400 Received: by simark.ca (Postfix, from userid 112) id E26961EE14; Thu, 8 Apr 2021 10:23:06 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id A511E1EE0E for ; Thu, 8 Apr 2021 10:23:03 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DCBC939518BE; Thu, 8 Apr 2021 14:23:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DCBC939518BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617891782; bh=MUlUeVdGacgj+IEicvcypp1q9mWWsFK1ParbIoBsY9E=; h=To:Subject:Date:In-Reply-To:References:In-Reply-To:References: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:From:Reply-To:From; b=XKsP0MVzKQ/bVy50j6CUSRpL8Qnhx9PslKSB3n6qyZO/4IExqx1Tx+ZgwW+pqGX+s 2AKsf/5sXC7OBNA/gKW/pdU9SiHJ4uTYTyA49mmJtBnrPFmGlaCsxZS7hLzQquVpbr xbS+G8GaOLInoNLvWlPsL9yHoq/T2Spgha3PABp4= Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by sourceware.org (Postfix) with ESMTPS id 9C7FC395144A for ; Thu, 8 Apr 2021 14:22:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9C7FC395144A IronPort-SDR: uyyumY9ExH119hg5f/aXgXR1eG0twVQdY/H6kHBi6DD3IrPRmU2dq+0biEdoBQmEt0NfQiCeCU P5xx5tufv4Cw== X-IronPort-AV: E=McAfee;i="6000,8403,9948"; a="278825444" X-IronPort-AV: E=Sophos;i="5.82,206,1613462400"; d="scan'208";a="278825444" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2021 07:22:55 -0700 IronPort-SDR: diB+LeDjix8ezo1rDb/bN0TWJ3FDaDupCYaDaDFcZOt+ip5vRFpdxndkzxRa+muh6nkn6L06/n j4XvZeOFKotA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,206,1613462400"; d="scan'208";a="530616048" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by orsmga004.jf.intel.com with ESMTP; 08 Apr 2021 07:22:54 -0700 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 138EMqOG008533; Thu, 8 Apr 2021 15:22:53 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id 138EMqKV021485; Thu, 8 Apr 2021 16:22:52 +0200 Received: (from taktemur@localhost) by ulvlx001.iul.intel.com with LOCAL id 138EMqPU021481; Thu, 8 Apr 2021 16:22:52 +0200 To: gdb-patches@sourceware.org Subject: [PATCH v2 2/4] testsuite, gdb.mi: fix duplicate test names in mi-break.exp Date: Thu, 8 Apr 2021 16:22:37 +0200 Message-Id: X-Mailer: git-send-email 1.7.0.7 In-Reply-To: References: In-Reply-To: References: X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tankut Baris Aktemur via Gdb-patches Reply-To: Tankut Baris Aktemur Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" From: Simon Marchi gdb/testsuite/ChangeLog: 2021-04-07 Simon Marchi Tankut Baris Aktemur * gdb.mi/mi-break.exp: Fix the duplicate test names. --- gdb/testsuite/gdb.mi/mi-break.exp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gdb/testsuite/gdb.mi/mi-break.exp b/gdb/testsuite/gdb.mi/mi-break.exp index a7c37b365e9..19438f21f63 100644 --- a/gdb/testsuite/gdb.mi/mi-break.exp +++ b/gdb/testsuite/gdb.mi/mi-break.exp @@ -46,7 +46,7 @@ set line_callme_body [expr $line_callme_head + 2] set fullname "fullname=\"${fullname_syntax}${srcfile}\"" -proc test_tbreak_creation_and_listing {} { +proc_with_prefix test_tbreak_creation_and_listing {} { global srcfile global line_callee4_head global line_callee4_body @@ -96,7 +96,7 @@ proc test_tbreak_creation_and_listing {} { "delete temp breakpoints" } -proc test_rbreak_creation_and_listing {} { +proc_with_prefix test_rbreak_creation_and_listing {} { global line_callee4_body global line_callee3_body global line_callee2_body @@ -165,7 +165,7 @@ proc test_rbreak_creation_and_listing {} { "delete temp breakpoints" } -proc test_abreak_creation {} { +proc_with_prefix test_abreak_creation {} { mi_create_varobj tpnum \$tpnum "create local variable tpnum" # Test that $tpnum is not set before creating a tracepoint. mi_gdb_test "521-var-evaluate-expression tpnum" \ @@ -183,7 +183,7 @@ proc test_abreak_creation {} { "524\\^done,value=\"10\"" "eval tpnum after tracepoint" } -proc test_ignore_count {} { +proc_with_prefix test_ignore_count {} { global line_callme_body mi_gdb_test "-break-insert -i 1 callme" \ @@ -196,7 +196,7 @@ proc test_ignore_count {} { {"" "disp=\"keep\"" } "run to breakpoint with ignore count" } -proc test_error {} { +proc_with_prefix test_error {} { mi_gdb_test "-break-insert function_that_does_not_exist" \ ".*\\^error,msg=\"Function \\\\\"function_that_does_not_exist\\\\\" not defined.\"" \ "breakpoint at nonexistent function" @@ -226,7 +226,7 @@ proc test_error {} { "conditional breakpoint with garbage after location" } -proc test_disabled_creation {} { +proc_with_prefix test_disabled_creation {} { global line_callee2_body set bp [mi_make_breakpoint -number 6 -type breakpoint -disp keep \ @@ -241,7 +241,7 @@ proc test_disabled_creation {} { "test disabled creation: cleanup" } -proc test_breakpoint_commands {} { +proc_with_prefix test_breakpoint_commands {} { global line_callee2_body set bp_no_script \ @@ -281,7 +281,7 @@ proc test_breakpoint_commands {} { mi_gdb_test "-break-commands 9 \"bt\" \"set \$i=0\" \"while \$i<10\" \"print \$i\" \"set \$i=\$i+1\" \"end\" \"continue\" " \ "\\^done" \ - "breakpoint commands: set commands" + "breakpoint commands: set more commands" mi_send_resuming_command "exec-continue" "breakpoint commands: continue" @@ -318,7 +318,7 @@ proc test_breakpoint_commands {} { # code. In-depth testing of explicit breakpoints is accomplished in # gdb.linespec tests. -proc test_explicit_breakpoints {} { +proc_with_prefix test_explicit_breakpoints {} { global srcfile global line_callee3_head line_callee4_head global line_callee3_body line_callee4_body -- 2.17.1