This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: Don't include value of expression in pc-fp.exp test name


Michael Elizabeth Chastain <mec@shout.net> writes:

> dc> What would make more of a difference for me (and,
> dc> presumably, for other people) would be to make it as easy as possible
> dc> to compare sum files: regularize the thread output a bit more, get rid
> dc> of gratuitous numbers (especially the value of $fp in pc-fp.exp).
> 
> I'm all for that.
> 
> Michael C

Like so?

2003-09-30  Jim Blandy  <jimb@redhat.com>

	* gdb.base/pc-fp.exp (get_valueofx): Don't include the value of
	the expression in the pass message.  This just creates spurious
	differences in summary files.

Index: gdb/testsuite/gdb.base/pc-fp.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/pc-fp.exp,v
retrieving revision 1.1
diff -c -r1.1 pc-fp.exp
*** gdb/testsuite/gdb.base/pc-fp.exp	25 Sep 2002 20:30:38 -0000	1.1
--- gdb/testsuite/gdb.base/pc-fp.exp	30 Sep 2003 06:39:50 -0000
***************
*** 62,68 ****
      gdb_expect {
  	-re "\\$\[0-9\]* = (0x\[0-9a-zA-Z\]+).*$gdb_prompt $" {
  	    set val $expect_out(1,string)
! 	    pass "get value of ${exp} ($val)"
  	}
  	timeout {
  	    set size ${default}
--- 62,68 ----
      gdb_expect {
  	-re "\\$\[0-9\]* = (0x\[0-9a-zA-Z\]+).*$gdb_prompt $" {
  	    set val $expect_out(1,string)
! 	    pass "get value of ${exp}"
  	}
  	timeout {
  	    set size ${default}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]