This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: remove directory name from test
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 14 Oct 2013 10:19:57 -0600
- Subject: FYI: remove directory name from test
- Authentication-results: sourceware.org; auth=none
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}