diff options
author | Pedro Alves <palves@redhat.com> | 2017-10-30 11:41:34 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-10-30 11:41:34 +0000 |
commit | 4a25033455f1e4e0325fdd249e30a79efc856689 (patch) | |
tree | 29bf136dc6936d3e2794e8dcfffa470dc52593d5 /gdb/common/common-utils.h | |
parent | 16c5c17e43b34c6cc5337b40e927bc2d05c38300 (diff) | |
download | binutils-4a25033455f1e4e0325fdd249e30a79efc856689.zip binutils-4a25033455f1e4e0325fdd249e30a79efc856689.tar.gz binutils-4a25033455f1e4e0325fdd249e30a79efc856689.tar.bz2 |
Merge/shared string_printf and string_vprintf unit tests
Merge the string_printf and string_vprintf tests, running them all
against both functions.
gdb/ChangeLog:
2017-10-30 Pedro Alves <palves@redhat.com>
* unittests/common-utils-selftests.c (format_func): New typedef.
(string_printf_tests, string_vprintf_tests): Tests factored out
and merged to ...
(test_format_func): ... this new function.
(string_printf_tests, string_vprintf_tests): Reimplement on top of
test_format_func.
Diffstat (limited to 'gdb/common/common-utils.h')
0 files changed, 0 insertions, 0 deletions