This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: fix test name in gdb-index.exp


I'm checking this in.

The new gdb-index.exp test included a directory name in a test name.
This lead to spurious failures for me, because I ran the baseline tests
in a different directory.

Tom

2013-08-28  Tom Tromey  <tromey@redhat.com>

	* gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
	when saving index.

Index: gdb.dwarf2/gdb-index.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.dwarf2/gdb-index.exp,v
retrieving revision 1.1
diff -u -r1.1 gdb-index.exp
--- gdb.dwarf2/gdb-index.exp	26 Aug 2013 18:43:40 -0000	1.1
+++ gdb.dwarf2/gdb-index.exp	28 Aug 2013 14:17:05 -0000
@@ -36,7 +36,8 @@
     set index_file ${program}.gdb-index
     verbose -log "index_file: ${index_file}"
     remote_file host delete ${index_file}
-    gdb_test_no_output "save gdb-index [file dirname ${index_file}]"
+    gdb_test_no_output "save gdb-index [file dirname ${index_file}]" \
+	"save gdb-index for file [file tail ${program}]"
 
     # No point in continuing if generating the index failed.
     # N.B.: There are times when gdb won't create an index, and it's not a


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]