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
..
Makefile Count miscellaneous files built on host for testing as tests. 2014-03-07 03:31:41 +00:00
README Use glibc version information in zic and zdump. 2012-11-10 00:31:20 +00:00
africa
antarctica
asia
australasia
backward
checktab.awk Update timezone code from tzcode 2013i. 2013-12-20 13:10:07 +00:00
etcetera
europe
factory
ialloc.c
iso3166.tab
leapseconds
northamerica
pacificnew
private.h Update timezone code from tzcode 2013i. 2013-12-20 13:10:07 +00:00
scheck.c Update timezone code from tzcode 2013i. 2013-12-20 13:10:07 +00:00
simplebackw
solar87
solar88
solar89
southamerica
systemv
test-tz.c
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
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

README

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.