binutils-gdb/gdb/unittests
Tom Tromey de2396d078 Fix build breakage with --disable-tui
An earlier patch introduced a unit test for tui_copy_source_line.
However if the TUI is not built (as is apparently the case on some of
the buildbot builders), then this will fail to link.

This patch fixes the problem.  Tested by rebuilding with the TUI
disabled.

gdb/ChangeLog
2019-12-02  Tom Tromey  <tom@tromey.com>

	* unittests/tui-selftests.c (run_tests): Make conditional.
	(_initialize_tui_selftest): Make conditional.

Change-Id: I964811c7635be24cf6c53920e74e920914503674
2019-12-02 16:12:19 -07:00
..
basic_string_view Make functions static in unittests 2019-11-26 14:29:20 -05:00
optional Make functions static in unittests 2019-11-26 14:29:20 -05:00
array-view-selftests.c Make functions static in unittests 2019-11-26 14:29:20 -05:00
child-path-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
cli-utils-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
common-utils-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
copy_bitwise-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
environ-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
format_pieces-selftests.c Handle %I64d in format_pieces 2019-11-21 14:39:40 -07:00
function-view-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
help-doc-selftests.c Add a selftest that checks documentation invariants. 2019-08-07 00:05:34 +02:00
lookup_name_info-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
main-thread-selftests.c Introduce run_on_main_thread 2019-11-26 14:02:57 -07:00
memory-map-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
memrange-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
mkdir-recursive-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
observable-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
offset-type-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
optional-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
parse-connection-spec-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
ptid-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
rsp-low-selftests.c [gdb] Fix more typos in comments (2) 2019-10-26 09:55:32 +02:00
scoped_fd-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
scoped_mmap-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
scoped_restore-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
string_view-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
style-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
tracepoint-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
tui-selftests.c Fix build breakage with --disable-tui 2019-12-02 16:12:19 -07:00
unpack-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
utils-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00
vec-utils-selftests.c gdb: fix build error in unittests/vec-utils-selftests.c 2019-11-14 06:51:30 -05:00
xml-utils-selftests.c Rename common to gdbsupport 2019-07-09 07:45:38 -06:00