From af2d5cd8e9f81832b04af6cd0e51def4065bbf71 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Tue, 12 May 2020 10:45:20 +0200 Subject: [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. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.trace/passcount.exp | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'gdb/testsuite') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6708eb4..1db518e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 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. 2020-05-12 Tom de Vries diff --git a/gdb/testsuite/gdb.trace/passcount.exp b/gdb/testsuite/gdb.trace/passcount.exp index fb0efad..4bc7dc0 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 -- cgit v1.1