public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb/testsuite: resolve a duplicate test name in a gdb.mi test
@ 2022-04-03 15:41 Andrew Burgess
  0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2022-04-03 15:41 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9f793f7beda340d847de19d9343d18400a1e21a3

commit 9f793f7beda340d847de19d9343d18400a1e21a3
Author: Andrew Burgess <aburgess@redhat.com>
Date:   Sun Apr 3 16:36:48 2022 +0100

    gdb/testsuite: resolve a duplicate test name in a gdb.mi test
    
    Solve two duplicate test names in the test script:
    
      gdb.mi/mi-catch-cpp-exceptions.exp
    
    by moving the call to restart_for_test inside the with_test_prefix
    block.  There should be no difference in what is tested after this
    commit.

Diff:
---
 gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp b/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp
index a909bb9d300..d8d7a57a766 100644
--- a/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp
+++ b/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp
@@ -183,8 +183,8 @@ with_test_prefix "all with -t" {
 
 if { $libstdcxx_probe_tests_supported  == 1 } {
     # Check that the temporary switch works when used with a regexp.
-    restart_for_test
     with_test_prefix "all with -t and regexp" {
+	restart_for_test
 	setup_catchpoint "throw" "-t -r my_ex"
 	setup_catchpoint "rethrow" "-t -r _except"
 	setup_catchpoint "catch" "-t -r my_exception"


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-03 15:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-03 15:41 [binutils-gdb] gdb/testsuite: resolve a duplicate test name in a gdb.mi test Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).