diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-09-18 12:27:11 -0400 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-09-18 12:36:05 -0400 |
commit | b078f3ac8803297bfc8416c20e09d0863c5ac6cc (patch) | |
tree | fced8dd7ce9e141758a483901154e8adf9097274 | |
parent | e6f7f6d14f7e1acba0cf41726616a270e7d3c121 (diff) | |
download | gdb-b078f3ac8803297bfc8416c20e09d0863c5ac6cc.zip gdb-b078f3ac8803297bfc8416c20e09d0863c5ac6cc.tar.gz gdb-b078f3ac8803297bfc8416c20e09d0863c5ac6cc.tar.bz2 |
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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/source-dir.exp | 3 |
2 files changed, 7 insertions, 1 deletions
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 <andrew.burgess@embecosm.com> + + * gdb.base/source-dir.exp: Avoid having directory names in test + names. + 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com> * 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 \\(\\)" \ |