In a testdir of strtod and strtold, I see test failures on native Windows (mingw, MSVC 14). The reason appears to be that the native setlocale() function there ignores the environment variables that the shell script sets; it looks only at the system settings.
This patch fixes it. 2024-02-21 Bruno Haible <br...@clisp.org> strtod, strtold tests: Avoid a test failure on native Windows. * modules/strtod-tests (Depends-on): Add setlocale. * modules/strtold-tests (Depends-on): Likewise. diff --git a/modules/strtod-tests b/modules/strtod-tests index cbc8030ca4..b6fc4585bf 100644 --- a/modules/strtod-tests +++ b/modules/strtod-tests @@ -12,6 +12,7 @@ Depends-on: float isnand-nolibm signbit +setlocale configure.ac: gt_LOCALE_FR diff --git a/modules/strtold-tests b/modules/strtold-tests index 1c270954ad..66774147d3 100644 --- a/modules/strtold-tests +++ b/modules/strtold-tests @@ -12,6 +12,7 @@ Depends-on: float isnanl-nolibm signbit +setlocale configure.ac: gt_LOCALE_FR