Re: [RFA] completer test [was Re: [RFC] Cleanup for make_source_files_completion_list]

Pedro Alves
2013-05-16T10:18:55Z

On 05/16/2013 10:26 AM, Joel Brobecker wrote:
>> Please use gdb_test_multiple. See e.g., how completion.exp itself
>> simplified much when converted to it:
>>
>> http://sourceware.org/ml/gdb-patches/2011-05/msg00063.html
>
> I also just checked in a test that performs a completion test
> using send_gdb + gdb_test_multiple...
>
> http://www.sourceware.org/ml/gdb-patches/2013-05/msg00573.html

Ah,

> --- a/gdb/testsuite/gdb.ada/complete.exp
> +++ b/gdb/testsuite/gdb.ada/complete.exp
> @@ -175,4 +175,19 @@ test_gdb_complete "pck." \
> test_gdb_complete "<pck__my" \
> "p <pck__my_global_variable>"
...

That made me look at what test_gdb_complete is, and then I
noticed a FIXME that's super easily fixed nowadays. :-)

http://sourceware.org/ml/gdb-patches/2013-05/msg00584.html

I went ahead and checked in the fix as obvious.

--
Pedro Alves