|
|
718148 |
commit 2bf1804182cc4bd671193587c8d5e3de45a9618e
|
|
|
718148 |
Author: Joseph Myers <joseph@codesourcery.com>
|
|
|
718148 |
Date: Wed Jun 4 23:37:25 2014 +0000
|
|
|
718148 |
|
|
|
718148 |
Include LOCPATH in default test environment.
|
|
|
718148 |
|
|
|
718148 |
Tests run using the default $(make-test-out) automatically get
|
|
|
718148 |
GCONV_PATH and LC_ALL set, whether or not those environment variables
|
|
|
718148 |
are actually needed for the individual test. However, they do not get
|
|
|
718148 |
LOCPATH set, meaning that a large number of tests have -ENV settings
|
|
|
718148 |
just to set LOCPATH.
|
|
|
718148 |
|
|
|
718148 |
This patch moves LOCPATH into the default environment used for all
|
|
|
718148 |
tests, on the principle that like GCONV_PATH any settings needed to
|
|
|
718148 |
use files associated with the newly built library, rather than any old
|
|
|
718148 |
installed files, are appropriate to use by default.
|
|
|
718148 |
|
|
|
718148 |
A further motivation is that various tests using .sh files also set
|
|
|
718148 |
some combination of LC_ALL, GCONV_PATH and LOCPATH. Preferably .sh
|
|
|
718148 |
files should also use the default environment with any additions
|
|
|
718148 |
required for the individual test. Now, it was suggested in
|
|
|
718148 |
<https://sourceware.org/ml/libc-alpha/2014-05/msg00715.html> that
|
|
|
718148 |
various Makefile variables used in testing should be derived by
|
|
|
718148 |
composing the -before-env and -after-env variables used when explicit
|
|
|
718148 |
environment settings are required. With such a change, it's also
|
|
|
718148 |
natural for those variables to include the default settings (via some
|
|
|
718148 |
intermediate makefile variable also used in make-test-out).
|
|
|
718148 |
|
|
|
718148 |
Because some .sh files only set variables that correspond to the
|
|
|
718148 |
default settings, or a subset thereof, and this applies to more of the
|
|
|
718148 |
.sh files once LOCPATH is in the default settings, doing so reduces
|
|
|
718148 |
the size of a revised version of
|
|
|
718148 |
<https://sourceware.org/ml/libc-alpha/2014-05/msg00596.html>: scripts
|
|
|
718148 |
only needing the (expanded) default settings will not need to receive
|
|
|
718148 |
the separate -before-env and -after-env variables, only the single
|
|
|
718148 |
variable they do at present. So moving LOCPATH into the default
|
|
|
718148 |
settings can reduce churn caused by subsequent patches.
|
|
|
718148 |
|
|
|
718148 |
Tested x86_64 and x86.
|
|
|
718148 |
|
|
|
718148 |
* Rules (make-test-out): Include
|
|
|
718148 |
LOCPATH=$(common-objpfx)localedata in default environment.
|
|
|
718148 |
* debug/Makefile (tst-chk1-ENV): Remove variable.
|
|
|
718148 |
(tst-chk2-ENV): Likewise.
|
|
|
718148 |
(tst-chk3-ENV): Likewise.
|
|
|
718148 |
(tst-chk4-ENV): Likewise.
|
|
|
718148 |
(tst-chk5-ENV): Likewise.
|
|
|
718148 |
(tst-chk6-ENV): Likewise.
|
|
|
718148 |
(tst-lfschk1-ENV): Likewise.
|
|
|
718148 |
(tst-lfschk2-ENV): Likewise.
|
|
|
718148 |
(tst-lfschk3-ENV): Likewise.
|
|
|
718148 |
(tst-lfschk4-ENV): Likewise.
|
|
|
718148 |
(tst-lfschk5-ENV): Likewise.
|
|
|
718148 |
(tst-lfschk6-ENV): Likewise.
|
|
|
718148 |
* iconvdata/Makefile (bug-iconv6-ENV): Likewise.
|
|
|
718148 |
(tst-iconv7-ENV): Likewise.
|
|
|
718148 |
* intl/Makefile (LOCPATH-ENV): Likewise.
|
|
|
718148 |
(tst-codeset-ENV): Likewise.
|
|
|
718148 |
(tst-gettext3-ENV): Likewise.
|
|
|
718148 |
(tst-gettext5-ENV): Likewise.
|
|
|
718148 |
* libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
|
|
|
718148 |
(tst-fopenloc-ENV): Likewise.
|
|
|
718148 |
(tst-fgetws-ENV): Remove variable.
|
|
|
718148 |
(tst-ungetwc1-ENV): Likewise.
|
|
|
718148 |
(tst-ungetwc2-ENV): Likewise.
|
|
|
718148 |
(bug-ungetwc2-ENV): Likewise.
|
|
|
718148 |
(tst-swscanf-ENV): Likewise.
|
|
|
718148 |
(bug-ftell-ENV): Likewise.
|
|
|
718148 |
(tst-fgetwc-ENV): Likewise.
|
|
|
718148 |
(tst-fseek-ENV): Likewise.
|
|
|
718148 |
(tst-ftell-partial-wide-ENV): Likewise.
|
|
|
718148 |
(tst-ftell-active-handler-ENV): Likewise.
|
|
|
718148 |
(tst-ftell-append-ENV): Likewise.
|
|
|
718148 |
* posix/Makefile (tst-fnmatch-ENV): Likewise.
|
|
|
718148 |
(tst-regexloc-ENV): Likewise.
|
|
|
718148 |
(bug-regex1-ENV): Likewise.
|
|
|
718148 |
(tst-regex-ENV): Likewise.
|
|
|
718148 |
(tst-regex2-ENV): Likewise.
|
|
|
718148 |
(bug-regex5-ENV): Likewise.
|
|
|
718148 |
(bug-regex6-ENV): Likewise.
|
|
|
718148 |
(bug-regex17-ENV): Likewise.
|
|
|
718148 |
(bug-regex18-ENV): Likewise.
|
|
|
718148 |
(bug-regex19-ENV): Likewise.
|
|
|
718148 |
(bug-regex20-ENV): Likewise.
|
|
|
718148 |
(bug-regex22-ENV): Likewise.
|
|
|
718148 |
(bug-regex23-ENV): Likewise.
|
|
|
718148 |
(bug-regex25-ENV): Likewise.
|
|
|
718148 |
(bug-regex26-ENV): Likewise.
|
|
|
718148 |
(bug-regex30-ENV): Likewise.
|
|
|
718148 |
(bug-regex32-ENV): Likewise.
|
|
|
718148 |
(bug-regex33-ENV): Likewise.
|
|
|
718148 |
(bug-regex34-ENV): Likewise.
|
|
|
718148 |
(bug-regex35-ENV): Likewise.
|
|
|
718148 |
(tst-rxspencer-ENV): Likewise.
|
|
|
718148 |
(tst-rxspencer-no-utf8-ENV): Likewise.
|
|
|
718148 |
* stdio-common/Makefile (tst-sprintf-ENV): Likewise.
|
|
|
718148 |
(tst-sscanf-ENV): Likewise.
|
|
|
718148 |
(tst-swprintf-ENV): Likewise.
|
|
|
718148 |
(tst-swscanf-ENV): Likewise.
|
|
|
718148 |
(test-vfprintf-ENV): Likewise.
|
|
|
718148 |
(scanf13-ENV): Likewise.
|
|
|
718148 |
(bug14-ENV): Likewise.
|
|
|
718148 |
(tst-grouping-ENV): Likewise.
|
|
|
718148 |
* stdlib/Makefile (tst-strtod-ENV): Likewise.
|
|
|
718148 |
(tst-strtod3-ENV): Likewise.
|
|
|
718148 |
(tst-strtod4-ENV): Likewise.
|
|
|
718148 |
(tst-strtod5-ENV): Likewise.
|
|
|
718148 |
(testmb2-ENV): Likewise./
|
|
|
718148 |
* string/Makefile (tst-strxfrm-ENV): Likewise.
|
|
|
718148 |
(tst-strxfrm2-ENV): Likewise.
|
|
|
718148 |
(bug-strcoll1-ENV): Likewise.
|
|
|
718148 |
(test-strcasecmp-ENV): Likewise.
|
|
|
718148 |
(test-strncasecmp-ENV): Likewise.
|
|
|
718148 |
* time/Makefile (tst-strptime-ENV): Likewise.
|
|
|
718148 |
(tst-ftime_l-ENV): Likewise.
|
|
|
718148 |
* wcsmbs/Makefile (tst-btowc-ENV): Likewise.
|
|
|
718148 |
(tst-mbrtowc-ENV): Likewise.
|
|
|
718148 |
(tst-wcrtomb-ENV): Likewise.
|
|
|
718148 |
(tst-mbrtowc2-ENV): Likewise.
|
|
|
718148 |
(tst-c16c32-1-ENV): Likewise.
|
|
|
718148 |
(tst-mbsnrtowcs-ENV): Likewise.
|
|
|
718148 |
|
|
|
718148 |
localedata/ChangeLog:
|
|
|
718148 |
* Makefile (TEST_MBWC_ENV): Remove variable.
|
|
|
718148 |
(tst_iswalnum-ENV): Likewise.
|
|
|
718148 |
(tst_iswalpha-ENV): Likewise.
|
|
|
718148 |
(tst_iswcntrl-ENV): Likewise.
|
|
|
718148 |
(tst_iswctype-ENV): Likewise.
|
|
|
718148 |
(tst_iswdigit-ENV): Likewise.
|
|
|
718148 |
(tst_iswgraph-ENV): Likewise.
|
|
|
718148 |
(tst_iswlower-ENV): Likewise.
|
|
|
718148 |
(tst_iswprint-ENV): Likewise.
|
|
|
718148 |
(tst_iswpunct-ENV): Likewise.
|
|
|
718148 |
(tst_iswspace-ENV): Likewise.
|
|
|
718148 |
(tst_iswupper-ENV): Likewise.
|
|
|
718148 |
(tst_iswxdigit-ENV): Likewise.
|
|
|
718148 |
(tst_mblen-ENV): Likewise.
|
|
|
718148 |
(tst_mbrlen-ENV): Likewise.
|
|
|
718148 |
(tst_mbrtowc-ENV): Likewise.
|
|
|
718148 |
(tst_mbsrtowcs-ENV): Likewise.
|
|
|
718148 |
(tst_mbstowcs-ENV): Likewise.
|
|
|
718148 |
(tst_mbtowc-ENV): Likewise.
|
|
|
718148 |
(tst_strcoll-ENV): Likewise.
|
|
|
718148 |
(tst_strfmon-ENV): Likewise.
|
|
|
718148 |
(tst_strxfrm-ENV): Likewise.
|
|
|
718148 |
(tst_swscanf-ENV): Likewise.
|
|
|
718148 |
(tst_towctrans-ENV): Likewise.
|
|
|
718148 |
(tst_towlower-ENV): Likewise.
|
|
|
718148 |
(tst_towupper-ENV): Likewise.
|
|
|
718148 |
(tst_wcrtomb-ENV): Likewise.
|
|
|
718148 |
(tst_wcscat-ENV): Likewise.
|
|
|
718148 |
(tst_wcschr-ENV): Likewise.
|
|
|
718148 |
(tst_wcscmp-ENV): Likewise.
|
|
|
718148 |
(tst_wcscoll-ENV): Likewise.
|
|
|
718148 |
(tst_wcscpy-ENV): Likewise.
|
|
|
718148 |
(tst_wcscspn-ENV): Likewise.
|
|
|
718148 |
(tst_wcslen-ENV): Likewise.
|
|
|
718148 |
(tst_wcsncat-ENV): Likewise.
|
|
|
718148 |
(tst_wcsncmp-ENV): Likewise.
|
|
|
718148 |
(tst_wcsncpy-ENV): Likewise.
|
|
|
718148 |
(tst_wcspbrk-ENV): Likewise.
|
|
|
718148 |
(tst_wcsrtombs-ENV): Likewise.
|
|
|
718148 |
(tst_wcsspn-ENV): Likewise.
|
|
|
718148 |
(tst_wcsstr-ENV): Likewise.
|
|
|
718148 |
(tst_wcstod-ENV): Likewise.
|
|
|
718148 |
(tst_wcstok-ENV): Likewise.
|
|
|
718148 |
(tst_wcstombs-ENV): Likewise.
|
|
|
718148 |
(tst_wcswidth-ENV): Likewise.
|
|
|
718148 |
(tst_wcsxfrm-ENV): Likewise.
|
|
|
718148 |
(tst_wctob-ENV): Likewise.
|
|
|
718148 |
(tst_wctomb-ENV): Likewise.
|
|
|
718148 |
(tst_wctrans-ENV): Likewise.
|
|
|
718148 |
(tst_wctype-ENV): Likewise.
|
|
|
718148 |
(tst_wcwidth-ENV): Likewise.
|
|
|
718148 |
(tst-digits-ENV): Likewise.
|
|
|
718148 |
(tst-mbswcs6-ENV): Likewise.
|
|
|
718148 |
(tst-xlocale1-ENV): Likewise.
|
|
|
718148 |
(tst-xlocale2-ENV): Likewise.
|
|
|
718148 |
(tst-strfmon1-ENV): Likewise.
|
|
|
718148 |
(tst-strptime-ENV): Likewise.
|
|
|
718148 |
(tst-setlocale-ENV): Don't set LOCPATH.
|
|
|
718148 |
(bug-iconv-trans-ENV): Remove variable.
|
|
|
718148 |
(tst-sscanf-ENV): Likewise.
|
|
|
718148 |
(tst-leaks-ENV): Don't set LOCPATH.
|
|
|
718148 |
(bug-setlocale1-ENV): Remove variable.
|
|
|
718148 |
(bug-setlocale1-static-ENV): Likewise.
|
|
|
718148 |
(tst-setlocale2-ENV): Likewise.
|
|
|
718148 |
|
|
|
12745e |
diff --git glibc-2.17-c758a686/Rules glibc-2.17-c758a686/Rules
|
|
|
718148 |
index feb304d..9f1a445 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/Rules
|
|
|
12745e |
+++ glibc-2.17-c758a686/Rules
|
|
|
718148 |
@@ -191,7 +191,8 @@ ifneq "$(strip $(tests) $(xtests) $(test-srcs))" ""
|
|
|
718148 |
# from the test programs and whatever input files are present.
|
|
|
718148 |
|
|
|
718148 |
make-test-out = $(test-wrapper-env) \
|
|
|
718148 |
- GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
|
|
|
718148 |
+ GCONV_PATH=$(common-objpfx)iconvdata \
|
|
|
718148 |
+ LOCPATH=$(common-objpfx)localedata LC_ALL=C \
|
|
|
718148 |
$($*-ENV) $(host-built-program-cmd) $($*-ARGS)
|
|
|
718148 |
$(objpfx)%-bp.out: %.input $(objpfx)%-bp
|
|
|
718148 |
$(make-test-out) > $@ < $(word 1,$^)
|
|
|
12745e |
diff --git glibc-2.17-c758a686/debug/Makefile glibc-2.17-c758a686/debug/Makefile
|
|
|
718148 |
index b599a22..c284c51 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/debug/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/debug/Makefile
|
|
|
718148 |
@@ -109,18 +109,6 @@ CFLAGS-tst-lfschk3.c = -Wno-format
|
|
|
718148 |
CFLAGS-tst-lfschk4.cc = -Wno-format
|
|
|
718148 |
CFLAGS-tst-lfschk5.cc = -Wno-format
|
|
|
718148 |
CFLAGS-tst-lfschk6.cc = -Wno-format
|
|
|
718148 |
-tst-chk1-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-chk2-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-chk3-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-chk4-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-chk5-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-chk6-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-lfschk1-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-lfschk2-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-lfschk3-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-lfschk4-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-lfschk5-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-lfschk6-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
LDLIBS-tst-chk4 = -lstdc++
|
|
|
718148 |
LDLIBS-tst-chk5 = -lstdc++
|
|
|
718148 |
LDLIBS-tst-chk6 = -lstdc++
|
|
|
12745e |
diff --git glibc-2.17-c758a686/iconvdata/Makefile glibc-2.17-c758a686/iconvdata/Makefile
|
|
|
718148 |
index 074d330..d98b6bd 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/iconvdata/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/iconvdata/Makefile
|
|
|
718148 |
@@ -73,9 +73,6 @@ tests += bug-iconv3
|
|
|
718148 |
endif
|
|
|
718148 |
|
|
|
718148 |
test-srcs := tst-table-from tst-table-to
|
|
|
718148 |
-
|
|
|
718148 |
-bug-iconv6-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-iconv7-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
endif
|
|
|
718148 |
|
|
|
718148 |
# No code here is in libc.so.
|
|
|
12745e |
diff --git glibc-2.17-c758a686/intl/Makefile glibc-2.17-c758a686/intl/Makefile
|
|
|
718148 |
index f11449d..10051f6 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/intl/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/intl/Makefile
|
|
|
718148 |
@@ -118,11 +118,6 @@ CFLAGS-tst-gettext4.c = -DOBJPFX=\"$(objpfx)\"
|
|
|
718148 |
CFLAGS-tst-gettext5.c = -DOBJPFX=\"$(objpfx)\"
|
|
|
718148 |
CFLAGS-tst-gettext6.c = -DOBJPFX=\"$(objpfx)\"
|
|
|
718148 |
|
|
|
718148 |
-LOCPATH-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-codeset-ENV = $(LOCPATH-ENV)
|
|
|
718148 |
-tst-gettext3-ENV = $(LOCPATH-ENV)
|
|
|
718148 |
-tst-gettext5-ENV = $(LOCPATH-ENV)
|
|
|
718148 |
-
|
|
|
718148 |
ifeq ($(have-thread-library),yes)
|
|
|
718148 |
ifeq (yes,$(build-shared))
|
|
|
718148 |
$(addprefix $(objpfx),$(multithread-test-srcs)): $(shared-thread-library)
|
|
|
12745e |
diff --git glibc-2.17-c758a686/libio/Makefile glibc-2.17-c758a686/libio/Makefile
|
|
|
718148 |
index b324ccc..4552360 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/libio/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/libio/Makefile
|
|
|
718148 |
@@ -148,17 +148,8 @@ CFLAGS-tst_putwc.c = -DOBJPFX=\"$(objpfx)\"
|
|
|
718148 |
|
|
|
718148 |
tst_wprintf2-ARGS = "Some Text"
|
|
|
718148 |
|
|
|
718148 |
-tst-widetext-ENV = LOCPATH=$(common-objpfx)localedata LANGUAGE=C
|
|
|
718148 |
-tst-fopenloc-ENV = LOCPATH=$(common-objpfx)localedata \
|
|
|
718148 |
- MALLOC_TRACE=$(objpfx)tst-fopenloc.mtrace
|
|
|
718148 |
-tst-fgetws-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-ungetwc1-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-ungetwc2-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-ungetwc2-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-swscanf-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-ftell-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-fseek-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
+tst-widetext-ENV = LANGUAGE=C
|
|
|
718148 |
+tst-fopenloc-ENV = MALLOC_TRACE=$(objpfx)tst-fopenloc.mtrace
|
|
|
718148 |
|
|
|
718148 |
generated = tst-fopenloc.mtrace tst-fopenloc.check
|
|
|
718148 |
|
|
|
12745e |
diff --git glibc-2.17-c758a686/localedata/Makefile glibc-2.17-c758a686/localedata/Makefile
|
|
|
718148 |
index d7ab445..20da00c 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/localedata/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/localedata/Makefile
|
|
|
718148 |
@@ -215,79 +215,13 @@
|
|
|
718148 |
$(addprefix --prefix=,$(install_root)) $$locale; \
|
|
|
718148 |
echo ' done'; \
|
|
|
718148 |
|
|
|
718148 |
-# The mbwc-tests need some environment setup to find the locale data files
|
|
|
718148 |
-TEST_MBWC_ENV:= LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst_iswalnum-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswalpha-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswcntrl-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswctype-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswdigit-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswgraph-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswlower-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswprint-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswpunct-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswspace-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswupper-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_iswxdigit-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_mblen-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_mbrlen-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_mbrtowc-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_mbsrtowcs-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_mbstowcs-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_mbtowc-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_strcoll-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_strfmon-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_strxfrm-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_swscanf-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_towctrans-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_towlower-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_towupper-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcrtomb-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcscat-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcschr-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcscmp-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcscoll-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcscpy-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcscspn-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcslen-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcsncat-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcsncmp-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcsncpy-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcspbrk-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcsrtombs-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcsspn-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcsstr-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcstod-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcstok-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcstombs-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcswidth-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcsxfrm-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wctob-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wctomb-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wctrans-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wctype-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst_wcwidth-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst-digits-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst-mbswcs6-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst-xlocale1-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst-xlocale2-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst-strfmon1-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
-tst-strptime-ENV = $(TEST_MBWC_ENV)
|
|
|
718148 |
+tst-setlocale-ENV = LC_ALL=ja_JP.EUC-JP
|
|
|
718148 |
|
|
|
718148 |
-tst-setlocale-ENV = LOCPATH=$(common-objpfx)localedata LC_ALL=ja_JP.EUC-JP
|
|
|
718148 |
-
|
|
|
718148 |
-bug-iconv-trans-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-
|
|
|
718148 |
-tst-sscanf-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-
|
|
|
718148 |
-tst-leaks-ENV = MALLOC_TRACE=$(objpfx)tst-leaks.mtrace \
|
|
|
718148 |
- LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
+tst-leaks-ENV = MALLOC_TRACE=$(objpfx)tst-leaks.mtrace
|
|
|
718148 |
$(objpfx)mtrace-tst-leaks: $(objpfx)tst-leaks.out
|
|
|
718148 |
$(common-objpfx)malloc/mtrace $(objpfx)tst-leaks.mtrace > $@
|
|
|
718148 |
|
|
|
718148 |
-bug-setlocale1-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
bug-setlocale1-ARGS = $(common-objpfx)
|
|
|
718148 |
-tst-setlocale2-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
|
|
|
718148 |
$(objdir)/iconvdata/gconv-modules:
|
|
|
718148 |
$(MAKE) -C ../iconvdata subdir=iconvdata $@
|
|
|
12745e |
diff --git glibc-2.17-c758a686/posix/Makefile glibc-2.17-c758a686/posix/Makefile
|
|
|
718148 |
index 328c2c5..3d75971 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/posix/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/posix/Makefile
|
|
|
718148 |
@@ -203,27 +203,7 @@ tst-dir-ARGS = `pwd` `cd $(common-objdir)/$(subdir); pwd` `cd $(common-objdir);
|
|
|
718148 |
tst-chmod-ARGS = $(objdir)
|
|
|
718148 |
tst-vfork3-ARGS = --test-dir=$(objpfx)
|
|
|
718148 |
|
|
|
718148 |
-tst-fnmatch-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-regexloc-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex1-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-regex-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-regex2-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex5-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex6-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex17-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex18-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex19-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex20-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex22-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex23-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex25-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex26-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex30-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex32-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex33-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-regex34-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
tst-rxspencer-ARGS = --utf8 rxspencer/tests
|
|
|
718148 |
-tst-rxspencer-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
tst-pcre-ARGS = PCRE.tests
|
|
|
718148 |
tst-boost-ARGS = BOOST.tests
|
|
|
718148 |
bug-glob1-ARGS = "$(objpfx)"
|
|
|
12745e |
diff --git glibc-2.17-c758a686/stdio-common/Makefile glibc-2.17-c758a686/stdio-common/Makefile
|
|
|
718148 |
index f179eab..5f8e534 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/stdio-common/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/stdio-common/Makefile
|
|
|
718148 |
@@ -118,13 +118,6 @@ CFLAGS-scanf17.c = -I../libio -I../stdlib -I../wcsmbs -I../time -I../string \
|
|
|
718148 |
|
|
|
718148 |
# We know the test has a format string problem.
|
|
|
718148 |
CFLAGS-tst-sprintf.c = -Wno-format
|
|
|
718148 |
-tst-sprintf-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-sscanf-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-swprintf-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-test-vfprintf-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-scanf13-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug14-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-grouping-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
|
|
|
718148 |
CPPFLAGS += $(libio-mtsafe)
|
|
|
718148 |
|
|
|
12745e |
diff --git glibc-2.17-c758a686/stdlib/Makefile glibc-2.17-c758a686/stdlib/Makefile
|
|
|
718148 |
index d7a562f..0fdf7cc 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/stdlib/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/stdlib/Makefile
|
|
|
718148 |
@@ -123,11 +123,6 @@ include ../Rules
|
|
|
718148 |
# Testdir has to be named stdlib and needs to be writable
|
|
|
718148 |
test-canon-ARGS = --test-dir=${common-objpfx}stdlib
|
|
|
718148 |
|
|
|
718148 |
-tst-strtod-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-strtod3-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-strtod4-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-strtod5-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-testmb2-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
bug-fmtmsg1-ENV = SEV_LEVEL=foo,11,newsev
|
|
|
718148 |
|
|
|
718148 |
# Run a test on the header files we use.
|
|
|
12745e |
diff --git glibc-2.17-c758a686/string/Makefile glibc-2.17-c758a686/string/Makefile
|
|
|
718148 |
index 5a76872..70b9c19 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/string/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/string/Makefile
|
|
|
718148 |
@@ -67,9 +67,6 @@ include ../Rules
|
|
|
718148 |
tester-ENV = LANGUAGE=C
|
|
|
718148 |
inl-tester-ENV = LANGUAGE=C
|
|
|
718148 |
noinl-tester-ENV = LANGUAGE=C
|
|
|
718148 |
-tst-strxfrm-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-strxfrm2-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-bug-strcoll1-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
CFLAGS-inl-tester.c = -fno-builtin
|
|
|
718148 |
CFLAGS-noinl-tester.c = -fno-builtin
|
|
|
718148 |
CFLAGS-tst-strlen.c = -fno-builtin
|
|
|
12745e |
diff --git glibc-2.17-c758a686/time/Makefile glibc-2.17-c758a686/time/Makefile
|
|
|
718148 |
index b7f3dba..a07c041 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/time/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/time/Makefile
|
|
|
718148 |
@@ -55,7 +55,4 @@ CFLAGS-test_time.c = -Wno-format
|
|
|
718148 |
tst-getdate-ENV= DATEMSK=datemsk TZDIR=${common-objpfx}timezone/testdata
|
|
|
718148 |
test_time-ARGS= EST5EDT CST
|
|
|
718148 |
|
|
|
718148 |
-tst-strptime-ENV = LOCPATH=${common-objpfx}localedata
|
|
|
718148 |
-tst-ftime_l-ENV = LOCPATH=${common-objpfx}localedata
|
|
|
718148 |
-
|
|
|
718148 |
bug-getdate1-ARGS = ${objpfx}bug-getdate1-fmt
|
|
|
12745e |
diff --git glibc-2.17-c758a686/wcsmbs/Makefile glibc-2.17-c758a686/wcsmbs/Makefile
|
|
|
718148 |
index 197ca7d..42843a6 100644
|
|
|
12745e |
--- glibc-2.17-c758a686/wcsmbs/Makefile
|
|
|
12745e |
+++ glibc-2.17-c758a686/wcsmbs/Makefile
|
|
|
718148 |
@@ -80,10 +80,3 @@ CPPFLAGS += $(libio-mtsafe)
|
|
|
718148 |
|
|
|
718148 |
# We need to find the default version of strtold_l in stdlib.
|
|
|
718148 |
CPPFLAGS-wcstold_l.c = -I../stdlib
|
|
|
718148 |
-
|
|
|
718148 |
-tst-btowc-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-mbrtowc-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-wcrtomb-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-mbrtowc2-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-c16c32-1-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
-tst-mbsnrtowcs-ENV = LOCPATH=$(common-objpfx)localedata
|
|
|
718148 |
--- glibc-2.17-c758a686/localedata/Makefile 2014-08-26 21:38:56.564751630 +0530
|
|
|
718148 |
+++ glibc-2.17-c758a686/localedata/Makefile.new 2014-08-26 21:40:16.596223207 +0530
|