binutils-gdb/gdb/unittests
Joel Brobecker f9db0c4c6c Move copy_bitwise unittests to own unittest file
Now that copy_bitwise has been made public, and considering that
its implementation could move to a different file again in the future,
this patch moves its unittest to its own file in gdb/unittests.

gdb/ChangeLog:

        * unittests/copy_bitwise-selftests.c: New file.
        * utils.c (selftests::bits_to_str, selftests::check_copy_bitwise)
        (selftests::copy_bitwise_tests): Delete, moving this code to
        unittests/copy_bitwise-selftests.c instead.
        (_initialize_utils): Do not register copy_bitwise tests.
        * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
        unittests/copy_bitwise-selftests.c.

Tested on x86_64-linux using the official testsuite, but also by
verifying that "maintenance selftests" still runs the copy_bitwise
tests.
2018-11-15 10:53:57 -05:00
..
basic_string_view Simple unused variable removals 2018-07-22 13:20:01 -06:00
optional
array-view-selftests.c Simple -Wshadow=local fixes 2018-10-04 22:51:45 -06:00
cli-utils-selftests.c Add a self-test for cli-utils.c 2018-07-12 23:10:56 +02:00
common-utils-selftests.c
copy_bitwise-selftests.c Move copy_bitwise unittests to own unittest file 2018-11-15 10:53:57 -05:00
environ-selftests.c Move gdb/common/diagnostics.h to include/diagnostics.h 2018-06-01 09:40:30 -07:00
format_pieces-selftests.c format_pieces-selftests.c: Silence ARI warnings 2018-05-18 15:47:56 -04:00
function-view-selftests.c
lookup_name_info-selftests.c
memory-map-selftests.c
memrange-selftests.c
mkdir-recursive-selftests.c Import mkdtemp gnulib module, fix mingw build 2018-11-01 15:41:43 -04:00
observable-selftests.c
offset-type-selftests.c
optional-selftests.c
parse-connection-spec-selftests.c Implement IPv6 support for GDB/gdbserver 2018-07-11 19:41:31 -04:00
ptid-selftests.c
rsp-low-selftests.c
scoped_fd-selftests.c Do not reopen temporary files 2018-10-27 11:58:41 -06:00
scoped_mmap-selftests.c Use mkostemp, not mkstemp 2018-10-27 11:58:41 -06:00
scoped_restore-selftests.c
string_view-selftests.c
tracepoint-selftests.c
unpack-selftests.c
utils-selftests.c
xml-utils-selftests.c