Add tests for new alias default-args related commands and arguments.
Test the new default-args behaviour and completion for the alias command. Note that gdb.base/default-args.exp is somewhat copied from with.exp (the test of the with command), while default-exp.c is a plain copy of with.c. gdb/testsuite/ChangeLog 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be> * gdb.base/default-args.exp: New test. * gdb.base/default-args.c: New file. * gdb.base/alias.exp: Update expected error msg for alias foo=bar. * gdb.base/default.exp: Update to new help text. * gdb.base/help.exp: Likewise. * gdb.base/page.exp: Likewise. * gdb.base/style.exp: Likewise. * gdb.guile/guile.exp: Likewise. * gdb.python/python.exp: Likewise.
This commit is contained in:
parent
cf00cd6faf
commit
746ebfe8dd
10 changed files with 187 additions and 11 deletions
|
@ -187,7 +187,7 @@ gdb_test_no_output "set height 0"
|
|||
|
||||
gdb_test_no_output "python a = gdb.execute('help', to_string=True)" "collect help from uiout"
|
||||
|
||||
gdb_test "python print (a)" ".*aliases -- Aliases of other commands.*" "verify help to uiout"
|
||||
gdb_test "python print (a)" ".*aliases -- User-defined aliases of other commands.*" "verify help to uiout"
|
||||
|
||||
# Test PR 12212, using InfThread.selected_thread() when no inferior is
|
||||
# loaded.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue