public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* FYI: remove directory name from test
@ 2013-10-14 16:20 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2013-10-14 16:20 UTC (permalink / raw)
  To: gdb-patches

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}
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-14 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-14 16:20 FYI: remove directory name from test Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).