From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1726) id 935043858430; Sun, 3 Apr 2022 15:41:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 935043858430 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Andrew Burgess To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb/testsuite: resolve a duplicate test name in a gdb.mi test X-Act-Checkin: binutils-gdb X-Git-Author: Andrew Burgess X-Git-Refname: refs/heads/master X-Git-Oldrev: 88fa6d3d663b93b3b56c4257aa31a4d49851d286 X-Git-Newrev: 9f793f7beda340d847de19d9343d18400a1e21a3 Message-Id: <20220403154115.935043858430@sourceware.org> Date: Sun, 3 Apr 2022 15:41:15 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2022 15:41:15 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D9f793f7beda3= 40d847de19d9343d18400a1e21a3 commit 9f793f7beda340d847de19d9343d18400a1e21a3 Author: Andrew Burgess Date: Sun Apr 3 16:36:48 2022 +0100 gdb/testsuite: resolve a duplicate test name in a gdb.mi test =20 Solve two duplicate test names in the test script: =20 gdb.mi/mi-catch-cpp-exceptions.exp =20 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/testsui= te/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" { =20 if { $libstdcxx_probe_tests_supported =3D=3D 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"