From: Andrew Burgess Date: Wed, 18 Sep 2019 16:27:11 +0000 (-0400) Subject: gdb/testsuite: Avoid directory names in test names X-Git-Tag: binutils-2_34~1326 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b078f3ac8803297bfc8416c20e09d0863c5ac6cc;p=thirdparty%2Fbinutils-gdb.git 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. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ed838e947e9..83d5a4f0058 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 25d7b07971a..9941c1f64e6 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 \\(\\)" \