lib/completion-support.exp: Add test_gdb_completion_offers_commands
authorPedro Alves <palves@redhat.com>
Wed, 12 Jun 2019 23:06:53 +0000 (00:06 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 12 Jun 2019 23:20:59 +0000 (00:20 +0100)
commite2a689da55d3feb7b79a141f69c4049112f59c91
tree7823c8128fcf35c847c9a6d6bc430e84cd4703aa
parent90a1ef8762a57f3f57007db2186099c026152034
lib/completion-support.exp: Add test_gdb_completion_offers_commands

This adds a procedure to the collection of completion-testing
routines, that allows checking whether completion offers all commands
as completion candidates.  This will be used for testing completing
"frame apply all [TAB]", "thread apply all [TAB]", etc.

gdb/testsuite/ChangeLog:
2019-06-13  Pedro Alves  <palves@redhat.com>

        * lib/completion-support.exp (test_gdb_complete_tab_multiple)
(test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
'max_completions' parameter and handle it.
(test_gdb_completion_offers_commands): New.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/completion-support.exp
This page took 0.025765 seconds and 4 git commands to generate.