* tests/test-localtime_r.c (main): Use the macro FRENCH_TZ.
* tests/test-localtime_r-mt.c (main): Likewise.
+2024-03-30 Bruno Haible <bruno@clisp.org>
+
+ time_r tests: Avoid misleading skip message on native Windows.
+ * tests/test-localtime_r.c (main): Use the macro FRENCH_TZ.
+ * tests/test-localtime_r-mt.c (main): Likewise.
+
2024-03-30 Paul Eggert <eggert@cs.ucla.edu>
time_r-tests: skip French tests if no Europe/Paris
&& result->tm_yday == 0
&& result->tm_isdst == 0))
{
- fputs ("Skipping test: TZ='Europe/Paris' is not Paris time\n",
+ fputs ("Skipping test: TZ='" FRENCH_TZ "' is not Paris time\n",
stderr);
return 77;
}
&& result->tm_yday == 0
&& result->tm_isdst == 0))
{
- fputs ("Skipping test: TZ='Europe/Paris' is not Paris time\n",
+ fputs ("Skipping test: TZ='" FRENCH_TZ "' is not Paris time\n",
stderr);
return 77;
}