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/testsuite] Don't display values in output of pc-fp.exp


The tests in pc-fp.exp display the actual values of $pc and $fp in
their PASS messages.  That makes regression testing a bit more
annoying for me: the value of $fp changes with every change I make to
GDB.  Is it okay to tweak the PASS messages not to display those
values?

David Carlton
carlton@math.stanford.edu

2002-11-05  David Carlton  <carlton@math.stanford.edu>

	* gdb.base/pc-fp.exp (get_valueofx): Don't display 'val' in PASS
	message.

Index: pc-fp.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/pc-fp.exp,v
retrieving revision 1.1
diff -u -p -r1.1 pc-fp.exp
--- pc-fp.exp	25 Sep 2002 20:30:38 -0000	1.1
+++ pc-fp.exp	5 Nov 2002 22:09:51 -0000
@@ -62,7 +62,7 @@ proc get_valueofx { fmt exp default } {
     gdb_expect {
 	-re "\\$\[0-9\]* = (0x\[0-9a-zA-Z\]+).*$gdb_prompt $" {
 	    set val $expect_out(1,string)
-	    pass "get value of ${exp} ($val)"
+	    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]