Hash :
289b0436
Author :
Date :
2024-03-05T13:35:08
c-strtod: Add multithread-safety test. * tests/test-c-strtod-mt.c: New file. * tests/test-c-strtod-mt.sh: New file, based on tests/test-c-strtod1.sh. * modules/c-strtod-tests (Files): Add them. (Depends-on): Add thread, nanosleep. (Makefile.am): Arrange to build test-c-strtod-mt and run test-c-strtod-mt.sh.
Files:
tests/test-c-strtod.c
tests/test-strtod.h
tests/test-c-strtod1.sh
tests/test-c-strtod1.c
tests/test-c-strtod-mt.sh
tests/test-c-strtod-mt.c
tests/minus-zero.h
tests/macros.h
m4/locale-fr.m4
m4/codeset.m4
Depends-on:
float
isnand-nolibm
signbit
setlocale
thread
nanosleep
configure.ac:
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
Makefile.am:
TESTS += test-c-strtod
check_PROGRAMS += test-c-strtod
TESTS += test-c-strtod1.sh test-c-strtod-mt.sh
TESTS_ENVIRONMENT += \
LOCALE_FR='@LOCALE_FR@' \
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
LC_NUMERIC_IMPLEMENTED='@LC_NUMERIC_IMPLEMENTED@'
check_PROGRAMS += test-c-strtod1 test-c-strtod-mt
test_c_strtod1_LDADD = $(LDADD) $(SETLOCALE_LIB)
test_c_strtod_mt_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBMULTITHREAD) $(NANOSLEEP_LIB)