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