This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/testsuite] One pass/fail per expect list
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Andrew Cagney <ac131313 at ges dot redhat dot com>
- Cc: Andrew Cagney <ac131313 at cygnus dot com>, gdb-patches at sources dot redhat dot com
- Date: Tue, 6 Aug 2002 15:46:50 -0700
- Subject: Re: [rfa/testsuite] One pass/fail per expect list
- References: <3D0A4801.8030001@cygnus.com> <1020805225525.ZM26569@localhost.localdomain> <3D4F48FA.1040108@ges.redhat.com>
On Aug 5, 11:56pm, Andrew Cagney wrote:
> >> The attached tweaks gdb_expect_list{} so that it only prints one pass /
> >> fail / ... message for the testcase.
> >>
> >> What are peoples thoughts on this change and if positive, is the patch ok?
> >
> > Now that it's in and I've had a chance to use it, the only part that
> > I don't like is:
> >
> >
> >> - unresolved "${test}, pattern ${index} + sentinel"
> >> + # unresolved "${test}, pattern ${index} + sentinel"
> >
> >
> > I found it useful to see the (potentially long list of) UNRESOLVED
> > messages after the FAIL so that I knew how many other parts of the
> > test hadn't been checked.
>
>
> What about including the total number of patterns in the test result
> message vis:
> .... (pattern N of NN)
In the FAIL message, right? If so, I think that'd be okay.
Kevin