aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2018-11-15 10:53:57 -0500
committerJoel Brobecker <brobecker@adacore.com>2018-11-15 10:53:57 -0500
commitf9db0c4c6c074d2df927d2650229f31eac079640 (patch)
treed80a44504747d53e8f2bd4c1c98dd371f7282c53 /gdb/Makefile.in
parent92b3642af0e739e526e27d4b4a0c0505e72a8879 (diff)
downloadgdb-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 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 6f74911..8bd78a6 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -408,6 +408,7 @@ SUBDIR_UNITTESTS_SRCS = \
unittests/array-view-selftests.c \
unittests/cli-utils-selftests.c \
unittests/common-utils-selftests.c \
+ unittests/copy_bitwise-selftests.c \
unittests/environ-selftests.c \
unittests/format_pieces-selftests.c \
unittests/function-view-selftests.c \