Move utils-selftests.c -> gdb/unittests/
authorPedro Alves <palves@redhat.com>
Thu, 28 Sep 2017 21:31:42 +0000 (22:31 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 28 Sep 2017 21:31:42 +0000 (22:31 +0100)
commitb2f8eb7a30dcf7c33ea26dfca31401a6786dcd99
tree884193e0b7043cb47360f57922a505fcb14dbb97
parent08302ed2cb8b175e3bbd4308879154baf64e6d98
Move utils-selftests.c -> gdb/unittests/

This file was only under gdb/ currently because it predates the
gdb/unittests/ directory.

gdb/ChangeLog:
2017-09-28  Pedro Alves  <palves@redhat.com>

* Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
unittests/common-utils-selftests.c.
(SUBDIR_UNITTESTS_OBS): Add common-utils-selftests.o.
(COMMON_OBS): Remove utils-selftests.o.
* utils-selftests.c: Move to ...
* unittests/common-utils-selftests.c: ... here and rename self
test to "string_printf".
gdb/ChangeLog
gdb/Makefile.in
gdb/unittests/common-utils-selftests.c [new file with mode: 0644]
gdb/utils-selftests.c [deleted file]