mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
bd6193907a
I observed a failure of timezone/tst-timezone with the same symptoms as reported in bug 14096. I was unable to reproduce the failure on testing again. However, from inspection, the cause is as follows. tst-timezone uses time zones compiled from the northamerica file, but has no dependency on any such zones, so with a parallel build it is possible that they do not get compiled until after tst-timezone is run. This patch adds a dependency on the compiled America/New_York zone (the one used as a makefile target to cause such zones to be compiled, rather than one which is actually used in that test) to fix the race. Tested for x86_64. [BZ #14096] * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on America/New_York. |
||
---|---|---|
.. | ||
testdata | ||
africa | ||
antarctica | ||
asia | ||
australasia | ||
backward | ||
etcetera | ||
europe | ||
factory | ||
iso3166.tab | ||
leapseconds | ||
Makefile | ||
northamerica | ||
pacificnew | ||
private.h | ||
README | ||
simplebackw | ||
solar87 | ||
solar88 | ||
solar89 | ||
southamerica | ||
systemv | ||
test-tz.c | ||
tst-timezone.c | ||
tst-tzset.c | ||
tzfile.h | ||
tzselect.ksh | ||
yearistype | ||
zdump.c | ||
zic.c | ||
zone.tab |
The files zic.c zdump.c tzfile.h private.h tzselect.ksh come from the tzcode package by Arthur David Olson et.al. The files africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89 iso3166.tab zone.tab leapseconds yearistype come from the tzdata package by Arthur David Olson et.al. Please check the ChangeLog files in the top level directory for the version of the tzcode and tzdata packages. Please also see: https://sourceware.org/glibc/wiki/SharedSourceFiles These packages may be found at ftp://ftp.iana.org/tz/releases/. Commentary should be addressed to tz@iana.org. The subdirectory testdata contains manually edited data files for regression testing purposes.