From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id wHK2Kg0YgGDnNQAAWB0awg (envelope-from ) for ; Wed, 21 Apr 2021 08:18:21 -0400 Received: by simark.ca (Postfix, from userid 112) id A8C761F104; Wed, 21 Apr 2021 08:18:21 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.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 DD1901E789 for ; Wed, 21 Apr 2021 08:18:18 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9C32739B7026; Wed, 21 Apr 2021 12:18:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C32739B7026 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619007498; 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=Yzuvi1XRrR9W7X52NwWRAveEKHaO/PGfq2d8nQHIamp0BqIj8dS1aeVcdEdQXVEfC 1V2rFVhuealKn1TyNa16HzoaeCtnluv4De1/DrmbDgRqEgrPOW5ORER14dawobHIZa wuoP8686mCkbJXeP8whq90Mcwj9/E+Ikek9dOHm0= Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by sourceware.org (Postfix) with ESMTPS id 8386239B7009 for ; Wed, 21 Apr 2021 12:18:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8386239B7009 IronPort-SDR: L9M3dHw+SB+KC3fIEWtp+zn3A0gPGb41NdISvR6qxjcJokdAJYFYv9YDbPebjihdbDIhy0Vzaq wUl4s7PhrOiw== X-IronPort-AV: E=McAfee;i="6200,9189,9960"; a="193564942" X-IronPort-AV: E=Sophos;i="5.82,238,1613462400"; d="scan'208";a="193564942" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2021 05:18:07 -0700 IronPort-SDR: cfj6u/8Jm4xdi8e7aEAD7/UgfpCFgKRc6qDNpNUiG2FqLcEwnphnNUC+DJE5IrR8SQEeHSOmsn PKybta3ea9yw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,238,1613462400"; d="scan'208";a="534861514" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by orsmga004.jf.intel.com with ESMTP; 21 Apr 2021 05:18:03 -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 13LCI1xd031910; Wed, 21 Apr 2021 13:18:01 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id 13LCI1MM026450; Wed, 21 Apr 2021 14:18:01 +0200 Received: (from taktemur@localhost) by ulvlx001.iul.intel.com with LOCAL id 13LCI18l026446; Wed, 21 Apr 2021 14:18:01 +0200 To: gdb-patches@sourceware.org Subject: [PATCH v3 2/4] testsuite, gdb.mi: fix duplicate test names in mi-break.exp Date: Wed, 21 Apr 2021 14:17:40 +0200 Message-Id: <749c6da4602c82f8f6775dd285a0db5b11c7a690.1619006869.git.tankut.baris.aktemur@intel.com> 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