This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfa/testsuite] Don't display values in output of pc-fp.exp
- From: David Carlton <carlton at math dot stanford dot edu>
- To: gdb-patches at sources dot redhat dot com
- Cc: Fernando Nasser <fnasser at redhat dot com>, cagney <cagney at redhat dot com>
- Date: 05 Nov 2002 14:14:30 -0800
- Subject: [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}