Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* annota1.exp testsuite failures
@ 2007-01-09  2:01 Nick Roberts
  2007-01-09  3:33 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Roberts @ 2007-01-09  2:01 UTC (permalink / raw)
  To: gdb


The last changes (2006/12/31) to annota1.exp make it fail for me:

Running /home/nickrob/src/gdb/testsuite/gdb.base/annota1.exp ...
FAIL: gdb.base/annota1.exp: backtrace from shlibrary
FAIL: gdb.base/annota1.exp: send SIGUSR1
FAIL: gdb.base/annota1.exp: backtrace @ signal handler
FAIL: gdb.base/annota1.exp: delete bp 1
FAIL: gdb.base/annota1.exp: break at 28
FAIL: gdb.base/annota1.exp: set up display
FAIL: gdb.base/annota1.exp: re-run
FAIL: gdb.base/annota1.exp: break at 46 (timeout)
FAIL: gdb.base/annota1.exp: ignore 5 4 (timeout)
FAIL: gdb.base/annota1.exp: annotate ignore count change (timeout)
FAIL: gdb.base/annota1.exp: breakpoint ignore count

		=== gdb Summary ===

# of expected passes		14
# of unexpected failures	11
/home/nickrob/src/gdb/testsuite/../../gdb/gdb version  6.6.50.20070109-cvs -nx
-------------

Version 1.20 gives:

Running /home/nickrob/src/gdb/testsuite/gdb.base/temp.exp ...

		=== gdb Summary ===

# of expected passes		25
/home/nickrob/src/gdb/testsuite/../../gdb/gdb version  6.6.50.20070109-cvs -nx
-------------


I'm not sure what has gone wrong but it gets out of sync on gdb_test_multiple:

\x1a\x1aprompt
PASS: gdb.base/annota1.exp: breakpoint printf
continue
...

\x1a\x1aprompt
PASS: gdb.base/annota1.exp: continue to printf
continue
...

\x1a\x1aprompt
FAIL: gdb.base/annota1.exp: backtrace from shlibrary
backtrace


-- 
Nick                                           http://www.inet.net.nz/~nickrob

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

* Re: annota1.exp testsuite failures
  2007-01-09  2:01 annota1.exp testsuite failures Nick Roberts
@ 2007-01-09  3:33 ` Daniel Jacobowitz
  2007-01-09 14:25   ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-01-09  3:33 UTC (permalink / raw)
  To: Nick Roberts; +Cc: gdb

On Tue, Jan 09, 2007 at 03:01:06PM +1300, Nick Roberts wrote:
> 
> The last changes (2006/12/31) to annota1.exp make it fail for me:

It passed for you before then, right?  Please send me the full log and
I'll try to figure out how it changed.

-- 
Daniel Jacobowitz
CodeSourcery


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

* Re: annota1.exp testsuite failures
  2007-01-09  3:33 ` Daniel Jacobowitz
@ 2007-01-09 14:25   ` Daniel Jacobowitz
  2007-01-09 22:08     ` Nick Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-01-09 14:25 UTC (permalink / raw)
  To: Nick Roberts, gdb

On Mon, Jan 08, 2007 at 10:33:08PM -0500, Daniel Jacobowitz wrote:
> On Tue, Jan 09, 2007 at 03:01:06PM +1300, Nick Roberts wrote:
> > 
> > The last changes (2006/12/31) to annota1.exp make it fail for me:
> 
> It passed for you before then, right?  Please send me the full log and
> I'll try to figure out how it changed.

Whoops.  Classic mistake on my part.  Nick, could you let me know if
this fixes it?

-- 
Daniel Jacobowitz
CodeSourcery

2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>

	* gdb.base/annota1.exp: Remove extra send_gdb.

Index: testsuite/gdb.base/annota1.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/annota1.exp,v
retrieving revision 1.21
diff -u -p -r1.21 annota1.exp
--- testsuite/gdb.base/annota1.exp	31 Dec 2006 20:01:25 -0000	1.21
+++ testsuite/gdb.base/annota1.exp	9 Jan 2007 14:24:11 -0000
@@ -244,7 +244,6 @@ set pat_begin "\r\n\032\032post-prompt\r
 set pat_adjust "warning: Breakpoint 3 address previously adjusted from $hex to $hex.\r\n"
 set pat_end "\r\n\032\032breakpoint 3\r\n\r\nBreakpoint 3, \r\n\032\032frame-begin 0 $hex\r\n\r\n(\032\032frame-address\r\n$hex\r\n\032\032frame-address-end\r\n in \r\n)*.*\032\032frame-function-name\r\n.*printf\r\n\032\032frame-args\r\n.*\032\032frame-end\r\n\r\n\032\032stopped\r\n$gdb_prompt$"
 
-send_gdb "continue\n"
 gdb_test_multiple "continue" "continue to printf" {
     -re "${pat_begin}($pat_adjust)?$pat_end" {
 	pass "continue to printf"


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

* Re: annota1.exp testsuite failures
  2007-01-09 14:25   ` Daniel Jacobowitz
@ 2007-01-09 22:08     ` Nick Roberts
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Roberts @ 2007-01-09 22:08 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

 > Whoops.  Classic mistake on my part.  Nick, could you let me know if
 > this fixes it?
 > 
 > -- 
 > Daniel Jacobowitz
 > CodeSourcery
 > 
 > 2007-01-09  Daniel Jacobowitz  <dan@codesourcery.com>
 > 
 > 	* gdb.base/annota1.exp: Remove extra send_gdb.

Works fine now.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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

end of thread, other threads:[~2007-01-09 22:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-09  2:01 annota1.exp testsuite failures Nick Roberts
2007-01-09  3:33 ` Daniel Jacobowitz
2007-01-09 14:25   ` Daniel Jacobowitz
2007-01-09 22:08     ` Nick Roberts

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