This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]