c-strtof: Add multithread-safety test.
commit890ed35c1ca4fbdeb002a4dd4f4bf87f28ee1fa7
authorBruno Haible <bruno@clisp.org>
Tue, 5 Mar 2024 12:42:27 +0000 (5 13:42 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 5 Mar 2024 13:09:56 +0000 (5 14:09 +0100)
tree6d0c500885ac43ce1514554b137d75f3264b2f11
parent36759c10952f50323d9a076cb64199c3f5c15634
c-strtof: Add multithread-safety test.

* tests/test-c-strtof-mt.c: New file.
* tests/test-c-strtof-mt.sh: New file, based on tests/test-c-strtof1.sh.
* modules/c-strtof-tests (Files): Add them.
(Depends-on): Add thread, nanosleep.
(Makefile.am): Arrange to build test-c-strtof-mt and run
test-c-strtof-mt.sh.
ChangeLog
modules/c-strtof-tests
tests/test-c-strtof-mt.c [new file with mode: 0644]
tests/test-c-strtof-mt.sh [new file with mode: 0755]