glibc/catgets
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
..
catgets.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
catgetsinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
config.h
Depend Update. 2000-09-07 03:49:56 +00:00
gencat.c Update remaining copyright dates 2014-01-01 22:02:55 +10:00
Makefile Count miscellaneous files built on host for testing as tests. 2014-03-07 03:31:41 +00:00
nl_types.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
open_catalog.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
sample.SJIS Update. 2002-06-29 21:08:13 +00:00
test1.msg
test2.msg Update. 2003-02-22 23:19:31 +00:00
test-gencat.c Update. 2002-06-29 21:08:13 +00:00
test-gencat.sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-catgets.c Fix format strings. 2002-09-30 07:47:16 +00:00
Versions Update. 2002-02-01 23:24:05 +00:00
xopen-msg.awk Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00