This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Extracting testsuite log
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: thorpej at wasabisystems dot com
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 19 Apr 2002 22:02:36 -0400
- Subject: Re: Extracting testsuite log
- References: <20020419184214.S1627@dr-evil.shagadelic.org>
Jason R Thorpe writes:
> I'm finally getting back to working on multi-arch'ing the alpha target,
> and have some questions about using the testsuite effectively...
>
> I'm getting a bunch of testsuite failures (though, certainly fewer
> than before multi-arch'ing), and I'd like to track them down.
>
> However, when I mimmick the test by hand, it seems to return the results
> that the testsuite is expecting. For example:
>
> FAIL: gdb.base/callfuncs.exp: bt after continuing from call dummy breakpoint
> FAIL: gdb.base/callfuncs.exp: bt after finishing from call dummy breakpoint
>
> When I mimmick that test by-hand, it seems to work fine.
>
> What I'd like to do is see the exact output that expect saw when running
> the test. Is there an easy way to do this?
>
> --
> -- Jason R. Thorpe <thorpej@wasabisystems.com>
yes, I usually add:
exp_internal 1
[...]
exp_internal 0
in the .exp file around the part that I want to monitor. It will
print all the output that expect is trying to match and a 'yes' or 'no'
for each case.
Elena