aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.guile
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-05-19 13:39:27 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-05-19 13:41:00 +0100
commitd9211df246b74aa4f1ba86f04933eca86862a352 (patch)
treef3083c7e19653b435add769588df3925c71f954d /gdb/testsuite/gdb.guile
parent2129a94255348900a6a0d03be9c1a6771ce7e2e6 (diff)
downloadgdb-d9211df246b74aa4f1ba86f04933eca86862a352.zip
gdb-d9211df246b74aa4f1ba86f04933eca86862a352.tar.gz
gdb-d9211df246b74aa4f1ba86f04933eca86862a352.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.guile')
-rw-r--r--gdb/testsuite/gdb.guile/scm-pretty-print.exp7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.guile/scm-pretty-print.exp b/gdb/testsuite/gdb.guile/scm-pretty-print.exp
index 7bd9d46..00229ef 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\""