This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/testsuite] Don't display values in output of pc-fp.exp
- From: Michael Snyder <msnyder at redhat dot com>
- To: David Carlton <carlton at math dot stanford dot edu>
- Cc: gdb-patches at sources dot redhat dot com, Fernando Nasser <fnasser at redhat dot com>, cagney <cagney at redhat dot com>
- Date: Tue, 05 Nov 2002 14:16:55 -0800
- Subject: Re: [rfa/testsuite] Don't display values in output of pc-fp.exp
- Organization: Red Hat, Inc.
- References: <ro1u1ivacl5.fsf@jackfruit.Stanford.EDU>
David Carlton wrote:
>
> 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
I'm not the maintainer, but the suggestion seems sound.
> 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}