aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-05-12 10:45:20 +0200
committerTom de Vries <tdevries@suse.de>2020-05-12 10:45:20 +0200
commitaf2d5cd8e9f81832b04af6cd0e51def4065bbf71 (patch)
tree10dc23265033d0cd068ff2c19fda4c284345c7bc /gdb/testsuite
parent7c121311ad39c86ff50864cffd0854ded0a0e9f3 (diff)
downloadgdb-af2d5cd8e9f81832b04af6cd0e51def4065bbf71.zip
gdb-af2d5cd8e9f81832b04af6cd0e51def4065bbf71.tar.gz
gdb-af2d5cd8e9f81832b04af6cd0e51def4065bbf71.tar.bz2
[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 <tdevries@suse.de> * gdb.trace/passcount.exp: Fix test-names.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.trace/passcount.exp6
2 files changed, 7 insertions, 3 deletions
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 <tdevries@suse.de>
+ * gdb.trace/passcount.exp: Fix test-names.
+
+2020-05-12 Tom de Vries <tdevries@suse.de>
+
* gdb.pascal/gdb11492.exp: Use with_test_prefix.
2020-05-12 Tom de Vries <tdevries@suse.de>
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