From b078f3ac8803297bfc8416c20e09d0863c5ac6cc Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Wed, 18 Sep 2019 12:27:11 -0400 Subject: gdb/testsuite: Avoid directory names in test names Give a test an actual name in order to avoid having a directory name in the .sum file. gdb/testsuite/ChangeLog: * gdb.base/source-dir.exp: Avoid having directory names in test names. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/source-dir.exp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ed838e9..83d5a4f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-09-18 Andrew Burgess + + * gdb.base/source-dir.exp: Avoid having directory names in test + names. + 2019-09-17 Andrew Burgess * gdb.base/source-dir.exp: Add extra test for mapped compilation diff --git a/gdb/testsuite/gdb.base/source-dir.exp b/gdb/testsuite/gdb.base/source-dir.exp index 25d7b07..9941c1f 100644 --- a/gdb/testsuite/gdb.base/source-dir.exp +++ b/gdb/testsuite/gdb.base/source-dir.exp @@ -131,7 +131,8 @@ proc test_truncated_comp_dir {} { [search_dir_list [list \ "$strip_dir" \ "\\\$cdir" \ - "\\\$cwd"]] + "\\\$cwd"]] \ + "setup source path search directory" gdb_test "list" [multi_line \ "1\[ \t\]+int" \ "2\[ \t\]+main \\(\\)" \ -- cgit v1.1