Add "style" proc to the test suite
authorTom Tromey <tromey@adacore.com>
Tue, 14 May 2019 14:04:22 +0000 (08:04 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 22 May 2019 17:59:52 +0000 (13:59 -0400)
commit18125b163947bfd0c358d4a5acf4e0e3b43b64cf
tree38476e9c4b49f58f798ad1b176f4b2cc72e20778
parentaf1a8d038798bef11471e28d999ad1687312a6a7
Add "style" proc to the test suite

This adds a "style" helper proc to the test suite, and updates
existing style tests to use it.  Thanks to Sergio for the idea.

Tested on x86-64 Fedora 29.

gdb/testsuite/ChangeLog
2019-05-22  Tom Tromey  <tromey@adacore.com>

* gdb.base/info-shared.exp (check_info_shared): Use "style".
* gdb.base/style.exp: Use "style".
* lib/gdb-utils.exp (style): New proc.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/info-shared.exp
gdb/testsuite/gdb.base/style.exp
gdb/testsuite/lib/gdb-utils.exp