Commit Graph

1202 Commits

Author SHA1 Message Date
Roland McGrath
f08e9a2629 Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
Joseph Myers
a5f891ac8d Consistently include Makeconfig after defining subdir.
In <https://sourceware.org/ml/libc-alpha/2014-01/msg00196.html> I
noted it was necessary to add includes of Makeconfig early in various
subdirectory makefiles for the tests-special variable settings added
by that patch to be conditional on configuration information.  No-one
commented on the general question there of whether Makeconfig should
always be included immediately after the definition of subdir.

This patch implements that early inclusion of Makeconfig in each
directory (which is a lot easier than consistent placement of includes
of Rules).  Includes are added if needed, or moved up if already
present.  Subdirectory "all:" targets are removed, since Makeconfig
provides one.

There is potential for further cleanups I haven't done.  Rules and
Makerules have code such as

ifneq   "$(findstring env,$(origin headers))" ""
headers :=
endif

to override to empty any value of various variables that came from the
environment.  I think there is a case for Makeconfig setting all the
subdirectory variables (other than subdir) to empty to ensure no
outside value is going to take effect if a subdirectory fails to
define a variable.  (A list of such variables, possibly out of date
and incomplete, is in manual/maint.texi.)  Rules and Makerules would
give errors if Makeconfig hadn't already been included, instead of
including it themselves.  The special code to override values coming
from the environment would then be obsolete and could be removed.

Tested x86_64, including that installed binaries are identical before
and after the patch.

	* argp/Makefile: Include Makeconfig immediately after defining
	subdir.
	* assert/Makefile: Likewise.
	* benchtests/Makefile: Likewise.
	* catgets/Makefile: Likewise.
	* conform/Makefile: Likewise.
	* crypt/Makefile: Likewise.
	* csu/Makefile: Likewise.
	(all): Remove target.
	* ctype/Makefile: Include Makeconfig immediately after defining
	subdir.
	* debug/Makefile: Likewise.
	* dirent/Makefile: Likewise.
	* dlfcn/Makefile: Likewise.
	* gmon/Makefile: Likewise.
	* gnulib/Makefile: Likewise.
	* grp/Makefile: Likewise.
	* gshadow/Makefile: Likewise.
	* hesiod/Makefile: Likewise.
	* hurd/Makefile: Likewise.
	(all): Remove target.
	* iconvdata/Makefile: Include Makeconfig immediately after
	defining subdir.
	* inet/Makefile: Likewise.
	* intl/Makefile: Likewise.
	* io/Makefile: Likewise.
	* libio/Makefile: Likewise.
	(all): Remove target.
	* locale/Makefile: Include Makeconfig immediately after defining
	subdir.
	* login/Makefile: Likewise.
	* mach/Makefile: Likewise.
	(all): Remove target.
	* malloc/Makefile: Include Makeconfig immediately after defining
	subdir.
	(all): Remove target.
	* manual/Makefile: Include Makeconfig immediately after defining
	subdir.
	* math/Makefile: Likewise.
	* misc/Makefile: Likewise.
	* nis/Makefile: Likewise.
	* nss/Makefile: Likewise.
	* po/Makefile: Likewise.
	(all): Remove target.
	* posix/Makefile: Include Makeconfig immediately after defining
	subdir.
	* pwd/Makefile: Likewise.
	* resolv/Makefile: Likewise.
	* resource/Makefile: Likewise.
	* rt/Makefile: Likewise.
	* setjmp/Makefile: Likewise.
	* shadow/Makefile: Likewise.
	* signal/Makefile: Likewise.
	* socket/Makefile: Likewise.
	* soft-fp/Makefile: Likewise.
	* stdio-common/Makefile: Likewise.
	* stdlib/Makefile: Likewise.
	* streams/Makefile: Likewise.
	* string/Makefile: Likewise.
	* sunrpc/Makefile: Likewise.
	(all): Remove target.
	* sysvipc/Makefile: Include Makeconfig immediately after defining
	subdir.
	* termios/Makefile: Likewise.
	* time/Makefile: Likewise.
	* timezone/Makefile: Likewise.
	(all): Remove target.
	* wcsmbs/Makefile: Include Makeconfig immediately after defining
	subdir.
	* wctype/Makefile: Likewise.

libidn/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.

localedata/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.
	(all): Remove target.

nptl/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.

nptl_db/ChangeLog:
	* Makefile: Include Makeconfig immediately after defining subdir.
2014-02-26 23:12:03 +00:00
Joseph Myers
f0881698bf Generate .test-result files for tests with special rules.
This patch, an updated version of
<https://sourceware.org/ml/libc-alpha/2014-01/msg00194.html> now
proposed for inclusion in glibc, extends the generation of PASS and
FAIL status in .test-result files for individual tests to cover tests
with their own custom makefile rules.  This is just adding
$(evaluate-test) calls to all such rules, since tests with multiple
commands were previously split into separate tests.

Note that the tests the makefiles expect to fail (posix/annexc and
conformtest) currently get FAIL listed in the .test-result file,
rather than XFAIL; a subsequent patch will introduce a better XFAIL
mechanism.

Tested x86_64.

	* Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
	($(objpfx)check-local-headers.out): Likewise.
	($(objpfx)begin-end-check.out): Likewise.
	* Makerules (check-abi-%.out): Likewise.
	* catgets/Makefile ($(objpfx)test1.cat): Likewise.
	($(objpfx)test2.cat): Likewise.
	($(objpfx)de/libc.cat): Likewise.
	($(objpfx)test-gencat.out): Likewise.
	* conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
	* elf/Makefile ($(objpfx)order-cmp.out): Likewise.
	($(objpfx)noload-mem): Likewise.
	($(objpfx)tst-pathopt.out): Likewise.
	($(objpfx)tst-rtld-load-self.out): Likewise.
	($(objpfx)tst-array1-cmp.out): Likewise.
	($(objpfx)tst-array1-static-cmp.out): Likewise.
	($(objpfx)tst-array2-cmp.out): Likewise.
	($(objpfx)tst-array3-cmp.out): Likewise.
	($(objpfx)tst-array4-cmp.out): Likewise.
	($(objpfx)tst-array5-cmp.out): Likewise.
	($(objpfx)tst-array5-static-cmp.out): Likewise.
	($(objpfx)check-textrel.out): Likewise.
	($(objpfx)check-execstack.out): Likewise.
	($(objpfx)check-localplt.out): Likewise.
	($(objpfx)order2-cmp.out): Likewise.
	($(objpfx)tst-leaks1-mem): Likewise.
	($(objpfx)tst-leaks1-static-mem): Likewise.
	($(objpfx)tst-initorder-cmp.out): Likewise.
	($(objpfx)tst-initorder2-cmp.out): Likewise.
	($(objpfx)tst-unused-dep.out): Likewise.
	($(objpfx)tst-unused-dep-cmp.out): Likewise.
	* grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
	* iconv/Makefile (test-iconvconfig): Likewise.
	* iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
	($(objpfx)iconv-test.out): Likewise.
	($(objpfx)tst-tables.out): Likewise.
	* intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
	($(objpfx)tst-gettext.out): Likewise.
	($(objpfx)tst-translit.out): Likewise.
	($(objpfx)tst-gettext2.out): Likewise.
	($(objpfx)tst-gettext4.out): Likewise.
	($(objpfx)tst-gettext6.out): Likewise.
	* io/Makefile ($(objpfx)ftwtest.out): Likewise.
	* libio/Makefile ($(objpfx)test-freopen.out): Likewise.
	($(objpfx)tst-fopenloc-cmp.out): Likewise.
	($(objpfx)tst-fopenloc-mem.out): Likewise.
	* malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
	* misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
	* posix/Makefile ($(objpfx)globtest.out): Likewise.
	($(objpfx)wordexp-tst.out): Likewise.
	($(objpfx)annexc.out): Likewise.
	($(objpfx)tst-fnmatch-mem): Likewise.
	($(objpfx)bug-regex2-mem): Likewise.
	($(objpfx)bug-regex14-mem): Likewise.
	($(objpfx)bug-regex21-mem): Likewise.
	($(objpfx)bug-regex31-mem): Likewise.
	($(objpfx)tst-vfork3-mem): Likewise.
	($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
	($(objpfx)tst-pcre-mem): Likewise.
	($(objpfx)tst-boost-mem): Likewise.
	($(objpfx)tst-getconf.out): Likewise.
	($(objpfx)bug-ga2-mem): Likewise.
	($(objpfx)bug-glob2-mem): Likewise.
	* resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
	($(objpfx)mtrace-tst-leaks2): Likewise.
	* stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
	($(objpfx)tst-printf.out): Likewise.
	($(objpfx)tst-setvbuf1.out): Likewise.
	($(objpfx)tst-setvbuf1-cmp.out): Likewise.
	* stdlib/Makefile ($(objpfx)isomac.out): Likewise.
	($(objpfx)tst-fmtmsg.out): Likewise.
	* string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
	* sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.

localedata:
	* Makefile ($(objpfx)sort-test.out): Use $(evaluate-test).
	($(objpfx)tst-fmon.out): Likewise.
	($(objpfx)tst-numeric.out): Likewise.
	($(objpfx)tst-locale.out): Likewise.
	($(objpfx)tst-rpmatch.out): Likewise.
	($(objpfx)tst-trans.out): Likewise.
	($(objpfx)tst-mbswcs.out): Likewise.
	($(objpfx)tst-ctype.out): Likewise.
	($(objpfx)tst-wctype.out): Likewise.
	($(objpfx)tst-langinfo.out): Likewise.
	($(objpfx)mtrace-tst-leaks): Likewise.

nptl:
	* Makefile ($(objpfx)tst-stack3-mem): Use $(evaluate-test).
	($(objpfx)tst-tls6.out): Likewise.
	($(objpfx)tst-cleanup0.out): Likewise.
	($(objpfx)tst-cleanup0-cmp.out): Likewise.
	($(objpfx)tst-cancel-wrappers.out): Likewise.
	($(objpfx)tst-oddstacklimit.out): Likewise.

nptl_db:
	* Makefile ($(objpfx)db-symbols.out): Use
	$(evaluate-test).
2014-02-21 21:48:08 +00:00
Allan McRae
d4697bc93d Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Chris Leonard
46c0cc3aa5 Add lang_name to various locales. 2013-12-26 19:35:18 -05:00
Chris Leonard
6165840fea fix localedata/ChangeLog 2013-12-20 12:12:00 -05:00
Joseph Myers
4f83f4592e Revert spurious copying of ChangeLog to localedata/ChangeLog. 2013-12-20 16:27:15 +00:00
Chris Leonard
8b67c0d9e2 Add lang_name to various locales. 2013-12-20 11:03:15 -05:00
Toke Høiland-Jørgensen
f208205092 Add entries for U00D8 and U00F8. 2013-12-12 14:47:25 -05:00
Marko Myllynen
dc14d999e1 Fix Charset comment in fi_FI, fi_FI@euro 2013-12-12 09:24:35 +05:30
Chris Leonard
14b97c7a8c Add lang_name to various locales. 2013-12-01 08:04:54 -05:00
Chris Leonard
2ddb48d376 Add lang_name to various locales. 2013-11-27 15:52:46 -05:00
Chris Leonard
9de41b6958 revert hebrew lang_name addition 2013-11-25 15:36:55 -05:00
Chris Leonard
f70893aacf revert hebrew lang_name addition 2013-11-25 15:31:36 -05:00
Chris Leonard
5d771331c1 Add lang_name to various locales. 2013-11-25 15:20:41 -05:00
Chris Leonard
085b5ddfe3 Add lang_name to various locales. 2013-11-24 19:58:39 -05:00
Chris Leonard
05a209fe3b revert error-generated by bs_BA. 2013-11-23 18:07:00 -05:00
Chris Leonard
7ea1ebb5e3 Add lang_name to various locales. 2013-11-23 16:29:48 -05:00
Chris Leonard
d5a4ef504e Add lang_name to various locales. 2013-11-23 13:10:17 -05:00
Chris Leonard
12e0e8c65d Add lang_name to German, English, Spanish, French locales. 2013-11-22 14:27:18 -05:00
Chris Leonard
d33cafadfe Add lang_name to Arabic locales. 2013-11-21 14:43:51 -05:00
Siddhesh Poyarekar
0417b20fe6 Rename Oriya locale to Odia (bug 15601)
The state of Orissa was officially renamed the state to Odisha and the
language from Oriya to Odia in 2010.

References:

http://zeenews.india.com/election09/story.aspx?aid=739995
http://orissamatters.com/2011/11/07/orissa-became-odisha/
http://www.ndtv.com/article/india/parliament-passes-bill-to-change-orissa-s-name-93888
http://orissa.gov.in/e-magazine/Orissareview/2011/Nov/engpdf/9-17.pdf
2013-11-20 17:47:41 +05:30
Siddhesh Poyarekar
5cf1c87eaf Fix ChangeLog formatting 2013-11-20 17:45:53 +05:30
Chris Leonard
ad383240ed [BZ #16144] Duplicated abday value for tk_TM. 2013-11-18 16:18:23 -05:00
Ondřej Bílka
d540fc8a66 Remove unused variable. 2013-11-18 13:12:29 +01:00
Chris Leonard
dd8082389e Correct wae_CH to UTF-8 encoding. 2013-11-17 18:24:27 -05:00
Arun Kumar Pyasi
b46d046e7b New locale for the_NP. 2013-11-15 15:57:56 -05:00
Chris Leonard
47fc68de31 [BZ #16143] pap_* locales have duplicated LC_NUMERIC section. 2013-11-14 18:30:47 -05:00
Chris Leonard
8f18faed2e [BZ #16103] LC_MEASUREMENT review and standardization 2013-11-14 17:19:35 -05:00
Chris Leonard
7961dd3716 Adjust language-code fields of LC_ADDRESS. 2013-11-04 11:21:41 -05:00
Chris Leonard
cd3e2ac55e Adjust language-code fields of LC_ADDRESS. 2013-11-03 23:51:46 -05:00
Chris Leonard
0f283efa55 Adjust language-code fields of LC_ADDRESS. 2013-11-03 23:10:15 -05:00
Chris Leonard
91044f8039 Adjust language-code fields of LC_ADDRESS. 2013-11-03 11:13:22 -05:00
Chris Leonard
8f5de63892 Adjust language-code fields of LC_ADDRESS. 2013-11-01 09:38:27 -04:00
Chris Leonard
6cefed7654 Adjust language-code fields of LC_ADDRESS. 2013-10-31 20:26:05 -04:00
Siddhesh Poyarekar
66925c4779 Add ChangeLog entry and fix NEWS for #16078 2013-10-30 16:19:36 +05:30
Chris Leonard
9668fc1b82 New-locale-for-anp_IN 2013-10-29 08:30:22 -04:00
Chris Leonard
b85545a671 Adjust language-code fields of LC_ADDRESS. 2013-10-24 11:43:38 -04:00
Chris Leonard
0abe1dd536 Adjust language-code fields of LC_ADDRESS. 2013-10-13 08:59:50 -04:00
Chris Leonard
41500766f7 correct LC_TELEPHONE for pap locales 2013-10-08 07:34:10 -04:00
Chris Leonard
f17f137aaf Fixes to Changelog for locale splits 2013-10-07 18:30:37 -04:00
Roland McGrath
3b60ada522 Fix up ChangeLog formatting. 2013-10-07 15:14:36 -07:00
Chris Leonard
0cfbf56e8d remove localdata path from Changelog entries 2013-10-07 17:23:18 -04:00
Chris Leonard
8c81eda97e Fix ar_SS in SUPPORTED 2013-10-07 16:50:12 -04:00
Chris Leonard
44a73ed670 Adjust language-code fields of LC_ADDRESS. 2013-10-05 20:40:58 -04:00
Chris Leonard
8a05c25298 Copy / modify pap_AN into pap_AW and pap_CW. 2013-10-04 08:54:27 -04:00
Chris Leonard
fb2a49aeb3 Split ar_SD into ar_SD and ar_SS 2013-10-04 08:44:04 -04:00
Chris Leonard
e74a6fd906 Fix ayc_PE.UTF-8 and lzh_TW.UTF-8 build issues 2013-09-28 20:32:16 -04:00
Michael Bauer
c5f840fd4f Version 1.2 of gd_GB locale 2013-09-25 11:57:34 -04:00
Wei-Lun Chao
77eb79caa4 New locale for cmn_TW 2013-09-23 22:36:14 -04:00