* [PUSHED] gdb/testsuite: resolve duplicate test names in gdb.guile/*.exp
@ 2021-05-19 12:41 Andrew Burgess
0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2021-05-19 12:41 UTC (permalink / raw)
To: gdb-patches
This commit:
commit ecf25064e87a3d2d59871b3ea7126fa0dee0001d
Date: Thu May 13 15:42:20 2021 +0100
gdb: fix pretty printing max depth behaviour
Introduced a couple of duplicate tests, this commit resolves them by
providing unique test names.
gdb/testsuite/ChangeLog:
* gdb.guile/scm-pretty-print.exp: Add test names to resolve
duplicate test names.
---
gdb/testsuite/ChangeLog | 5 +++++
gdb/testsuite/gdb.guile/scm-pretty-print.exp | 7 ++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/gdb/testsuite/gdb.guile/scm-pretty-print.exp b/gdb/testsuite/gdb.guile/scm-pretty-print.exp
index 7bd9d469ff6..00229efd806 100644
--- a/gdb/testsuite/gdb.guile/scm-pretty-print.exp
+++ b/gdb/testsuite/gdb.guile/scm-pretty-print.exp
@@ -90,10 +90,11 @@ proc run_lang_tests {exefile lang} {
}
gdb_test "print x" " = \"this is x\""
- gdb_test "print cstring" " = \"const string\""
-
+ gdb_test "print cstring" " = \"const string\"" \
+ "print cstring with max-depth unlimited"
gdb_test_no_output "set print max-depth 0"
- gdb_test "print cstring" " = \"const string\""
+ gdb_test "print cstring" " = \"const string\"" \
+ "print cstring with max-depth 0"
gdb_test_no_output "set print max-depth unlimited"
gdb_test "print estring" " = \"embedded x\\\\201\\\\202\\\\203\\\\204\""
--
2.25.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-19 12:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 12:41 [PUSHED] gdb/testsuite: resolve duplicate test names in gdb.guile/*.exp Andrew Burgess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).