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