From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 67U8M4nNi2ATYAAAWB0awg (envelope-from ) for ; Fri, 30 Apr 2021 05:27:37 -0400 Received: by simark.ca (Postfix, from userid 112) id C3E2A1F11C; Fri, 30 Apr 2021 05:27:37 -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.0 required=5.0 tests=MAILING_LIST_MULTI, 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 0A9ED1E783 for ; Fri, 30 Apr 2021 05:27:37 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5C0AC39AE40E; Fri, 30 Apr 2021 09:27:36 +0000 (GMT) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id 5F5D5385782F for ; Fri, 30 Apr 2021 09:27:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5F5D5385782F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tdevries@suse.de X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 7DA28B27F for ; Fri, 30 Apr 2021 09:27:32 +0000 (UTC) Date: Fri, 30 Apr 2021 11:27:31 +0200 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [committed][gdb/testsuite] Fix duplicate test name in gdb.mi/mi-sym-info.exp Message-ID: <20210430092729.GA24081@delia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" Hi, Since commit 2d61316c32a "[gdb/testsuite] Fix buffer full errors in gdb.mi/mi-sym-info.exp", we have a duplicate test name: ... Running src/gdb/testsuite/gdb.mi/mi-sym-info.exp ... DUPLICATE: gdb.mi/mi-sym-info.exp: List all variables ... This is caused by a copy-paste accident: the idea was to copy the test, edit it, and then remove the old test, but I forgot to remove the old one. Remove it now. Tested on x86_64-linux. Committed to trunk. Thanks, - Tom [gdb/testsuite] Fix duplicate test name in gdb.mi/mi-sym-info.exp gdb/testsuite/ChangeLog: 2021-04-30 Tom de Vries * gdb.mi/mi-sym-info.exp: Remove duplicate test. --- gdb/testsuite/gdb.mi/mi-sym-info.exp | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/gdb/testsuite/gdb.mi/mi-sym-info.exp b/gdb/testsuite/gdb.mi/mi-sym-info.exp index ca192756b38..f7f574aaeae 100644 --- a/gdb/testsuite/gdb.mi/mi-sym-info.exp +++ b/gdb/testsuite/gdb.mi/mi-sym-info.exp @@ -150,39 +150,6 @@ gdb_test_multiple $cmd ${testname} -prompt "${mi_gdb_prompt}$" { } } -with_timeout_factor 2 { - set testname "List all variables" - set cmd "115-symbol-info-variables --include-nondebug" - set state 0 - gdb_test_multiple $cmd ${testname} -prompt "${mi_gdb_prompt}$" { - -re "115\\^done,symbols=\{" { - if { $state == 0 } { set state 1 } - exp_continue - } - -re "debug=\\\[${symtab_re}" { - if { $state == 1 } { set state 2 } - exp_continue - } - -re ",${symtab_re}" { - exp_continue - } - -re "\\\],nondebug=\\\[" { - if { $state == 2 } { set state 3 } - exp_continue - } - -re "\{address=${qstr},name=${qstr}\}," { - exp_continue - } - -re "\{address=${qstr},name=${qstr}\}\\\]\}\r\n${mi_gdb_prompt}$" { - if { $state == 3 } { - pass $gdb_test_name - } else { - fail $gdb_test_name - } - } - } -} - with_timeout_factor 2 { set testname "List all variables" set cmd "115-symbol-info-variables --include-nondebug"