Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Funny test, gdb.trace/ax.exp
@ 2010-06-08 23:43 Michael Snyder
  2010-06-09  0:04 ` Stan Shebs
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Snyder @ 2010-06-08 23:43 UTC (permalink / raw)
  To: gdb, Pedro Alves

I say funny, because most of the tests will pass regardless of output.
They all accept "", which is the same as ".*".


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

* Re: Funny test, gdb.trace/ax.exp
  2010-06-08 23:43 Funny test, gdb.trace/ax.exp Michael Snyder
@ 2010-06-09  0:04 ` Stan Shebs
  0 siblings, 0 replies; 2+ messages in thread
From: Stan Shebs @ 2010-06-09  0:04 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb, Pedro Alves

Michael Snyder wrote:
> I say funny, because most of the tests will pass regardless of output.
> They all accept "", which is the same as ".*".
>

I was mainly wanting to check that the bytecode compiler didn't go down 
in flames and take the rest of GDB with it.  :-)  Now that we have 
tracepoints in GDBserver, this would be better as a live test of 
on-target expression evaluation; it might not be too hard to set up a 
standard test proc that captures each expression result and compares 
with expected value.

Stan


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

end of thread, other threads:[~2010-06-09  0:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-08 23:43 Funny test, gdb.trace/ax.exp Michael Snyder
2010-06-09  0:04 ` Stan Shebs

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