This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] gdb.mi/*.exp, send_gdb vs. gdb_test
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 02 Jun 2010 12:49:25 +0400
- Subject: Re: [RFA] gdb.mi/*.exp, send_gdb vs. gdb_test
- Connect(): No such file or directory
- Followup-to: gmane.comp.gdb.patches
- References: <4BFC6CF2.1090103@vmware.com> <201005260844.17679.vladimir@codesourcery.com> <4BFD54C5.4060409@vmware.com>
Michael Snyder wrote:
> Vladimir Prus wrote:
>> On Wednesday 26 May 2010 04:36:02 Michael Snyder wrote:
>>
>>> - send_gdb "-gdb-version\n"
>>> - gdb_expect {
>>> - -re "GNU gdb .*\r\n$mi_gdb_prompt$" \
>>> - { pass "acceptance of MI operations"
>>> - return 1}
>>> - -re ".*\r\n$mi_gdb_prompt$" \
>>> - { fail "acceptance of MI operations"
>>> - note "Skipping all other MI tests." }
>>> - -re "Undefined command.*$gdb_prompt $" \
>>> - { fail "acceptance of MI operations"
>>> - note "Skipping all other MI tests." }
>>> - -re ".*$gdb_prompt $" \
>>> - { fail "acceptance of MI operations"
>>> - note "Skipping all other MI tests." }
>>> - timeout { fail "acceptance of MI operations (timeout)"
>>> - note "Skipping all other MI tests." }
>>> + gdb_test_multiple "-gdb-version" "acceptance of MI operations" {
>>
>> You replace send_gdb with gdb_test_multiple, while changelog say you
>> replace with gdb_test.
>>
>>> + note "Skipping all other MI tests."
>>
>> This seem to be emitted unconditionally now? It was previously emitted
>> on timeout only. There are two such issues in -- mi-basics and mi2-basics.
>> Seems OK otherwise.
>
> It's not unconditional. The "pass" clause includes a return, so this
> note will only be emitted on failure.
OK, then this is not an issue.
- Volodya