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: remove directory name from test


I'm checking this in.

I noticed today that dwzbuildid.exp had a directory name in one of the
test names.  This causes spurious test differences.

I fixed this by passing an explicit test name to gdb_test_no_output.

Tom

2013-10-14  Tom Tromey  <tromey@redhat.com>

	* gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
	name to gdb_test_no_output.

Index: gdb.dwarf2/dwzbuildid.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp,v
retrieving revision 1.1
diff -u -r1.1 dwzbuildid.exp
--- gdb.dwarf2/dwzbuildid.exp	8 Oct 2013 19:56:15 -0000	1.1
+++ gdb.dwarf2/dwzbuildid.exp	14 Oct 2013 16:17:58 -0000
@@ -154,7 +154,8 @@
 	gdb_start
 	gdb_reinitialize_dir $srcdir/$subdir
 
-	gdb_test_no_output "set debug-file-directory $outdir"
+	gdb_test_no_output "set debug-file-directory $outdir" \
+	    "set debug-file-directory"
 
 	gdb_load ${binfile}-${testname}
 


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