This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB testsuite questions
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: David Taylor <dtaylor at emc dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 11 Nov 2014 21:08:13 +0100
- Subject: Re: GDB testsuite questions
- Authentication-results: sourceware.org; auth=none
- References: <9588 dot 1415728864 at usendtaylorx2l>
David Taylor <dtaylor@emc.com> writes:
> . how to grab part of the each of the responses to multiple gdb commands
> and do arithmetric on the result to decide whether the test failed or
> passed.
Use the expect_out variable, there are various examples of its use in
the testsuite.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."