gdb/testsuite: make test names unique in gdb.python/py-strfns.exp
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 8 Mar 2021 16:55:28 +0000 (16:55 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 12 Mar 2021 12:18:33 +0000 (12:18 +0000)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-strfns.exp

index 0125f35d64d28b5deca7ac89bbb638affb6764db..f51a0327c60785052b499287763250013a37eccd 100644 (file)
@@ -1,3 +1,8 @@
+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
index d6142a6e01128432093260d2ac1cb55ca3d00a24..4128c912b7cec0d76de4e7cddcc7a58997250a95 100644 (file)
@@ -88,7 +88,9 @@ proc test_strfns_core_file { } {
            }
        }
 
-    test_all_strfns
+    with_test_prefix "for corefile" {
+       test_all_strfns
+    }
 }
 
 test_strfns_core_file