gdb/testsuite: New skip_tui_tests predicate.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 27 Mar 2015 22:52:31 +0000 (22:52 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 20 May 2015 19:57:20 +0000 (21:57 +0200)
commitebe3b578523c72d47659df672fedae03a6894e72
tree9e2dfa7ef200fb65f882417297f6ce322a2d08e8
parentfca6ae69c41882f5adfba05da7d932b7c8bc2153
gdb/testsuite: New skip_tui_tests predicate.

Add a new predicate procedure to the gdb.exp library 'skip_tui_tests',
which returns true if the tui is not compiled into gdb.

Make use of this predicate in the gdb.base/tui-layout.exp test as an
example.

gdb/testsuite/ChangeLog:

* lib/gdb.exp (skip_tui_tests): New proc.
* gdb.base/tui-layout.exp: Check skip_tui_tests.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/tui-layout.exp
gdb/testsuite/lib/gdb.exp