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