Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [committed][gdb/testsuite] Fix duplicate test name in gdb.mi/mi-sym-info.exp
Date: Fri, 30 Apr 2021 11:27:31 +0200	[thread overview]
Message-ID: <20210430092729.GA24081@delia> (raw)

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  <tdevries@suse.de>

	* 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"

                 reply	other threads:[~2021-04-30  9:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210430092729.GA24081@delia \
    --to=tdevries@suse.de \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox