aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-09-18 12:27:11 -0400
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-09-18 12:36:05 -0400
commitb078f3ac8803297bfc8416c20e09d0863c5ac6cc (patch)
treefced8dd7ce9e141758a483901154e8adf9097274 /gdb/testsuite/gdb.base
parente6f7f6d14f7e1acba0cf41726616a270e7d3c121 (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/source-dir.exp3
1 files changed, 2 insertions, 1 deletions
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 \\(\\)" \