From 22d3e7f62936a8ccaa528bbb818f16f1f6e39c3b Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Mon, 8 Mar 2021 16:55:28 +0000 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.python/py-strfns.exp | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0125f35d64d..f51a0327c60 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2021-03-12 Andrew Burgess + + * gdb.python/py-strfns.exp: Use with_test_prefix to make test + names unique. + 2021-03-12 Andrew Burgess * gdb.python/py-format-string.exp: Use proc_with_prefix to make diff --git a/gdb/testsuite/gdb.python/py-strfns.exp b/gdb/testsuite/gdb.python/py-strfns.exp index d6142a6e011..4128c912b7c 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 -- 2.30.2