Hash :
43516c1d
Author :
Date :
2023-10-27T20:02:27
tests: Use C99 initializer syntax for memory_long_double. * tests/test-isfinite.c (test_isfinitel): Use '.word = ...' syntax when initializing memory_long_double variables. * tests/test-isinf.c (test_isinfl): Likewise. * tests/test-isnan.c (test_long_double): Likewise. * tests/test-snprintf-posix.h (test_function): Likewise. * tests/test-sprintf-posix.h (test_function): Likewise. * tests/test-vasnprintf-posix.c (test_function): Likewise. * tests/test-vasnwprintf-posix.c (test_function): Likewise. * tests/test-vasprintf-posix.c (test_function): Likewise. * modules/isfinite-tests (Depends-on): Add c99. * modules/isinf-tests (Depends-on): Likewise. * modules/isnan-tests (Depends-on): Likewise. * modules/isnanl-nolibm-tests (Depends-on): Likewise. * modules/isnanl-tests (Depends-on): Likewise. * modules/pipe-filter-gi-tests (Depends-on): Likewise. * modules/pipe-filter-ii-tests (Depends-on): Likewise. * modules/snprintf-posix-tests (Depends-on): Likewise. * modules/sprintf-posix-tests (Depends-on): Likewise. * modules/vasnprintf-posix-tests (Depends-on): Likewise. * modules/vasnwprintf-posix-tests (Depends-on): Likewise. * modules/vasprintf-posix-tests (Depends-on): Likewise. * modules/vsnprintf-posix-tests (Depends-on): Likewise. * modules/vsprintf-posix-tests (Depends-on): Likewise.
Files:
tests/test-vsnprintf-posix.c
tests/test-snprintf-posix.h
tests/test-vsnprintf.c
tests/minus-zero.h
tests/infinity.h
tests/signature.h
tests/macros.h
Depends-on:
c99
stdint
float
nan
snan
configure.ac:
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
AC_DEFINE([CHECK_VSNPRINTF_POSIX], 1,
[Define to 1 for strict checking in test-vsnprintf.c.])
Makefile.am:
TESTS += test-vsnprintf-posix test-vsnprintf
check_PROGRAMS += test-vsnprintf-posix test-vsnprintf