Hash :
c15fb773
Author :
Date :
2024-03-05T12:21:36
c-strtold: Add tests. * tests/test-strtold.h: New file, extracted from tests/test-strtold.c. * tests/test-strtold.c: Include test-strtold.h. (FABSL): Remove unused macro. (main): Just invoke test_function. * tests/test-strtold1.c: Add comment. * modules/strtold-tests (Files): Add tests/test-strtold.h. * tests/test-c-strtold.c: New file, based on tests/test-strtold.c. * tests/test-c-strtold1.c: New file, based on tests/test-strtold1.c. * tests/test-c-strtold1.sh: New file, based on tests/test-strtold1.sh. * modules/c-strtold-tests: New file, based on modules/strtold-tests.
Files:
tests/test-strtold.c
tests/test-strtold.h
tests/test-strtold1.sh
tests/test-strtold1.c
tests/signature.h
tests/minus-zero.h
tests/macros.h
m4/locale-fr.m4
m4/codeset.m4
Depends-on:
float
isnanl-nolibm
signbit
setlocale
configure.ac:
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
Makefile.am:
TESTS += test-strtold
check_PROGRAMS += test-strtold
TESTS += test-strtold1.sh
TESTS_ENVIRONMENT += \
LOCALE_FR='@LOCALE_FR@' \
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
LC_NUMERIC_IMPLEMENTED='@LC_NUMERIC_IMPLEMENTED@'
check_PROGRAMS += test-strtold1
test_strtold1_LDADD = $(LDADD) $(SETLOCALE_LIB)