binutils-gdb/gdb/unittests
Pedro Alves 4a25033455 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.
2017-10-30 11:41:34 +00:00
..
optional gdb::optional unit tests 2017-04-18 23:49:33 +01:00
array-view-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
common-utils-selftests.c Merge/shared string_printf and string_vprintf unit tests 2017-10-30 11:41:34 +00:00
environ-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
function-view-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
memrange-selftests.c Get rid of VEC(mem_range_s) 2017-10-16 11:07:18 -04:00
offset-type-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
optional-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
ptid-selftests.c ptid-selftests: Fix erroneous assert messages 2017-04-07 10:28:56 -04:00
scoped_restore-selftests.c Add selftests run filtering 2017-09-16 14:06:03 +02:00
xml-utils-selftests.c Make xml_escape_text return an std::string 2017-09-16 14:19:31 +02:00