]> sourceware.org Git - glibc.git/commit
stdio-common: Add tests for formatted vasprintf output specifiers
authorMaciej W. Rozycki <macro@redhat.com>
Thu, 7 Nov 2024 06:14:24 +0000 (06:14 +0000)
committerMaciej W. Rozycki <macro@redhat.com>
Thu, 7 Nov 2024 06:14:24 +0000 (06:14 +0000)
commit349670f8093d920d4d683472c88029f6901f7ae7
tree1ea5394fd811c39483c938d094b9f77e1f408186
parentbad554d9b4f10988eb7fdb814fbaa5e89416d781
stdio-common: Add tests for formatted vasprintf output specifiers

Wire vasprintf into test infrastructure for formatted printf output
specifiers.

Owing to mtrace logging these tests take amounts of time to complete
similar to those of corresponding asprintf tests, so set timeouts for
the tests accordingly, with a global default for all the vasprintf
tests, and then individual higher settings for double and long double
tests each.

Reviewed-by: DJ Delorie <dj@redhat.com>
16 files changed:
stdio-common/Makefile
stdio-common/tst-printf-format-vas-c.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-char.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-double.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-int.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-ldouble.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-llong.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-long.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-s.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-short.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-uchar.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-uint.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-ullong.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-ulong.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas-ushort.c [new file with mode: 0644]
stdio-common/tst-printf-format-vas.h [new file with mode: 0644]
This page took 0.08946 seconds and 5 git commands to generate.