From: Tom de Vries Date: Tue, 12 May 2020 08:45:20 +0000 (+0200) Subject: [gdb/testsuite] Fix duplicate test-names in gdb.trace X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af2d5cd8e9f81832b04af6cd0e51def4065bbf71;p=binutils-gdb.git [gdb/testsuite] Fix duplicate test-names in gdb.trace In gdb.trace we have these duplicates: ... DUPLICATE: gdb.trace/passcount.exp: 4.20a: set all three passcounts to three DUPLICATE: gdb.trace/passcount.exp: 4.6: set passcount to zero DUPLICATE: gdb.trace/passcount.exp: 4.7: set passcount to large number (32767) ... Fix these by fixing the test-names. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-05-12 Tom de Vries * gdb.trace/passcount.exp: Fix test-names. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6708eb4871f..1db518edcc5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-05-12 Tom de Vries + + * gdb.trace/passcount.exp: Fix test-names. + 2020-05-12 Tom de Vries * gdb.pascal/gdb11492.exp: Use with_test_prefix. diff --git a/gdb/testsuite/gdb.trace/passcount.exp b/gdb/testsuite/gdb.trace/passcount.exp index fb0efad70bb..4bc7dc03b78 100644 --- a/gdb/testsuite/gdb.trace/passcount.exp +++ b/gdb/testsuite/gdb.trace/passcount.exp @@ -166,7 +166,7 @@ gdb_test "info tracepoints" \ \[\t \]+pass count 3 .* \[0-9\]+\[\t \]+tracepoint keep y.* in gdb_recursion_test at .*$srcfile:\[0-9\]+. \[\t \]+pass count 3 .*" \ - "4.20a: set all three passcounts to three" + "4.20a: verify all three passcounts to three" gdb_test "passcount 4 all" \ ".*$trcpt1.s pass.* 4.*$trcpt2.s pass.* 4.*$trcpt3.s pass.* 4" \ @@ -201,7 +201,7 @@ gdb_test "info tracepoints" \ \[0-9\]+\[\t \]+tracepoint keep y.* in gdb_recursion_test at .*$srcfile:\[0-9\]+. \[\t \]+pass count 4 . \[\t \]+not installed on target." \ - "4.6: set passcount to zero" + "4.6: verify passcount to zero" # 4.7 (test a very large passcount) @@ -217,7 +217,7 @@ gdb_test "info tracepoints" \ \[\t \]+pass count 4 .* \[0-9\]+\[\t \]+tracepoint keep y.* in gdb_recursion_test at .*$srcfile:\[0-9\]+. \[\t \]+pass count 4 .*" \ - "4.7: set passcount to large number (32767)" + "4.7: verify passcount to large number (32767)" # 4.8 set passcount for invalid tracepoint