[PUSHED] gdb/testsuite: Avoid directory names in test names

Message ID 20190918163944.11489-1-andrew.burgess@embecosm.com
State New
Headers show
Series
  • [PUSHED] gdb/testsuite: Avoid directory names in test names
Related show

Commit Message

Andrew Burgess Sept. 18, 2019, 4:39 p.m.
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(-)

-- 
2.14.5

Patch

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 \\(\\)" \