diff options
author | Joel Brobecker <brobecker@adacore.com> | 2018-11-15 10:53:57 -0500 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2018-11-15 10:53:57 -0500 |
commit | f9db0c4c6c074d2df927d2650229f31eac079640 (patch) | |
tree | d80a44504747d53e8f2bd4c1c98dd371f7282c53 /libtool.m4 | |
parent | 92b3642af0e739e526e27d4b4a0c0505e72a8879 (diff) | |
download | gdb-f9db0c4c6c074d2df927d2650229f31eac079640.zip gdb-f9db0c4c6c074d2df927d2650229f31eac079640.tar.gz gdb-f9db0c4c6c074d2df927d2650229f31eac079640.tar.bz2 |
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.
Diffstat (limited to 'libtool.m4')
0 files changed, 0 insertions, 0 deletions