From: Andrew Burgess Date: Wed, 19 May 2021 12:39:27 +0000 (+0100) Subject: gdb/testsuite: resolve duplicate test names in gdb.guile/*.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9211df246b74aa4f1ba86f04933eca86862a352;p=binutils-gdb.git gdb/testsuite: resolve duplicate test names in gdb.guile/*.exp 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. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 609b40a0a4a..4ed43e57973 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2021-05-19 Andrew Burgess + + * gdb.guile/scm-pretty-print.exp: Add test names to resolve + duplicate test names. + 2021-05-19 Tom de Vries * gdb.base/info-types.exp.tcl: Scan info types output line-by-line. 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\""