glibc/timezone
Joseph Myers 6f99f280b0 Count miscellaneous files built on host for testing as tests.
In <https://sourceware.org/ml/libc-alpha/2014-01/msg00198.html> I
raised the question of counting miscellaneous dependencies of tests,
built on the host rather than the build system, as tests, so that when
test failures don't stop "make check" neither do those other builds on
the host, so that a flaky host doesn't stop "make check" from
producing a complete summary of test results.  Brooks supported that
idea in <https://sourceware.org/ml/libc-alpha/2014-02/msg00301.html>.

This patch implements that change for all the examples I could find:
one message catalog in catgets/, locales in localedata/ and timezone
files in timezone/.

Tested x86_64.

	* catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
	($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
	* timezone/Makefile (testdata): Move definition above include of
	Rules.
	(test-zones): New variable.
	(tests-special): Add zone files.
	(build-testdata): Use $(evaluate-test).

localedata/ChangeLog:
	* Makefile (LOCALES): Move definition above include of Rules.
	(LOCALE_SRCS): Likewise.
	(CHARMAPS): Likewise.
	(CTYPE_FILES): Likewise.
	(tests-special): Add locale files.
	($(addprefix $(objpfx),$(CTYPE_FILES))): Use $(evaluate-test).
2014-03-07 03:31:41 +00:00
..
africa Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
antarctica Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
asia Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
australasia Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
backward Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
checktab.awk Update timezone code from tzcode 2013i. 2013-12-20 13:10:07 +00:00
etcetera Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
europe Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
factory Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
ialloc.c Update tzcode to 2012i. 2012-11-09 21:20:57 +00:00
iso3166.tab Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
leapseconds Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
Makefile Count miscellaneous files built on host for testing as tests. 2014-03-07 03:31:41 +00:00
northamerica Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
pacificnew Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
private.h Update timezone code from tzcode 2013i. 2013-12-20 13:10:07 +00:00
README Use glibc version information in zic and zdump. 2012-11-10 00:31:20 +00:00
scheck.c Update timezone code from tzcode 2013i. 2013-12-20 13:10:07 +00:00
simplebackw Update. 1998-02-15 23:23:43 +00:00
solar87 Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
solar88 Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
solar89 Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
southamerica Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
systemv Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
test-tz.c 2006-01-10 Roland McGrath <roland@redhat.com> 2006-01-10 20:37:36 +00:00
tst-timezone.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tzfile.h Update timezone code from tzcode 2013i. 2013-12-20 13:10:07 +00:00
tzselect.ksh tzselect: stop requiring ksh 2014-02-08 06:47:58 -05:00
yearistype Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
zdump.c Update timezone code from tzcode 2013i. 2013-12-20 13:10:07 +00:00
zic.c Update timezone code from tzcode 2013i. 2013-12-20 13:10:07 +00:00
zone.tab Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00

The files
	zic.c zdump.c ialloc.c scheck.c tzfile.h
	private.h tzselect.ksh checktab.awk
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.

These packages may be found at ftp://ftp.iana.org/tz/releases/.  Commentary
should be addressed to tz@iana.org.