Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Fix gdb.cp/gdb2495.exp for remote-host testing
@ 2011-10-10 23:06 Joseph S. Myers
  2011-10-10 23:36 ` Pedro Alves
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph S. Myers @ 2011-10-10 23:06 UTC (permalink / raw)
  To: gdb-patches

Similarly to my fix
<http://sourceware.org/ml/gdb-patches/2011-10/msg00176.html> for
fixsection.exp and that for gdb.base/solib-symbol.exp,
gdb.cp/gdb2495.exp is a third test needing filenames in expected
messages adjusted not to include directories for remote-host testing.
OK to commit this patch?

2011-10-10  Joseph Myers  <joseph@codesourcery.com>

	* gdb.cp/gdb2495.exp: Do not include directories in filename in
	expected message.

Index: gdb.cp/gdb2495.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/gdb2495.exp,v
retrieving revision 1.6
diff -u -r1.6 gdb2495.exp
--- gdb.cp/gdb2495.exp	1 Jan 2011 15:33:43 -0000	1.6
+++ gdb.cp/gdb2495.exp	10 Oct 2011 23:00:00 -0000
@@ -104,7 +104,7 @@
 # call and that the std::terminate breakpoint has evaporated and
 # cleaned-up.
 gdb_test "info breakpoints" \
-    "gdb.cp/gdb2495\.cc.*"
+    "gdb2495\.cc.*"
 
 # Turn off this new behaviour.
 gdb_test_multiple "set unwind-on-terminating-exception off" \

-- 
Joseph S. Myers
joseph@codesourcery.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fix gdb.cp/gdb2495.exp for remote-host testing
  2011-10-10 23:06 Fix gdb.cp/gdb2495.exp for remote-host testing Joseph S. Myers
@ 2011-10-10 23:36 ` Pedro Alves
  0 siblings, 0 replies; 2+ messages in thread
From: Pedro Alves @ 2011-10-10 23:36 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joseph S. Myers

On Tuesday 11 October 2011 00:05:42, Joseph S. Myers wrote:
> Similarly to my fix
> <http://sourceware.org/ml/gdb-patches/2011-10/msg00176.html> for
> fixsection.exp and that for gdb.base/solib-symbol.exp,
> gdb.cp/gdb2495.exp is a third test needing filenames in expected
> messages adjusted not to include directories for remote-host testing.
> OK to commit this patch?
> 
> 2011-10-10  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* gdb.cp/gdb2495.exp: Do not include directories in filename in
> 	expected message.

Okay.  Consider similar fixes to other tests preapproved.

-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-10 23:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-10 23:06 Fix gdb.cp/gdb2495.exp for remote-host testing Joseph S. Myers
2011-10-10 23:36 ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox