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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Files:
tests/test-vasnwprintf-posix.c
tests/test-vasnwprintf-posix2.sh
tests/test-vasnwprintf-posix2.c
tests/test-vasnwprintf-posix3.c
tests/minus-zero.h
tests/infinity.h
tests/macros.h
m4/musl.m4
m4/locale-fr.m4
m4/codeset.m4
Depends-on:
c99
stdint
float
nan
snan
setlocale
wcscmp
wcsspn
wmemcmp
wmemcpy
configure.ac:
AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
gl_MUSL_LIBC
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
Makefile.am:
TESTS += test-vasnwprintf-posix test-vasnwprintf-posix2.sh test-vasnwprintf-posix3
TESTS_ENVIRONMENT += \
LOCALE_FR='@LOCALE_FR@' \
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
LC_NUMERIC_IMPLEMENTED='@LC_NUMERIC_IMPLEMENTED@'
check_PROGRAMS += test-vasnwprintf-posix test-vasnwprintf-posix2 test-vasnwprintf-posix3
test_vasnwprintf_posix_LDADD = $(LDADD) $(MBRTOWC_LIB)
test_vasnwprintf_posix2_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
test_vasnwprintf_posix3_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)