aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-03-08 16:55:28 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-03-12 12:18:33 +0000
commit22d3e7f62936a8ccaa528bbb818f16f1f6e39c3b (patch)
tree98eba2a17d0e7faf9fa202430d520fbc84d93787 /gdb
parent5fc5a1b882c65f13e1a97b8433459a42e7d65477 (diff)
downloadgdb-22d3e7f62936a8ccaa528bbb818f16f1f6e39c3b.zip
gdb-22d3e7f62936a8ccaa528bbb818f16f1f6e39c3b.tar.gz
gdb-22d3e7f62936a8ccaa528bbb818f16f1f6e39c3b.tar.bz2
gdb/testsuite: make test names unique in gdb.python/py-strfns.exp
Wrap some code in `with_test_prefix` to make test names unique. gdb/testsuite/ChangeLog: * gdb.python/py-strfns.exp: Use with_test_prefix to make test names unique.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.python/py-strfns.exp4
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 0125f35..f51a032 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
+ * gdb.python/py-strfns.exp: Use with_test_prefix to make test
+ names unique.
+
+2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
+
* gdb.python/py-format-string.exp: Use proc_with_prefix to make
test names unique.
diff --git a/gdb/testsuite/gdb.python/py-strfns.exp b/gdb/testsuite/gdb.python/py-strfns.exp
index d6142a6..4128c91 100644
--- a/gdb/testsuite/gdb.python/py-strfns.exp
+++ b/gdb/testsuite/gdb.python/py-strfns.exp
@@ -88,7 +88,9 @@ proc test_strfns_core_file { } {
}
}
- test_all_strfns
+ with_test_prefix "for corefile" {
+ test_all_strfns
+ }
}
test_strfns_core_file