mirror of git://sourceware.org/git/glibc.git
locale/tst-locale-locpath: Run test only for $(run-built-tests) == yes
This commit is contained in:
parent
1a4c27355e
commit
439bf53496
|
|
@ -1,3 +1,9 @@
|
||||||
|
2019-04-24 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* locale/Makefile (tests-special): Guard setting by
|
||||||
|
$(run-built-tests) == yes, otherwise tst-locale-locpath attempts
|
||||||
|
to run while cross-compiling.
|
||||||
|
|
||||||
2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||||
|
|
||||||
[BZ #18035]
|
[BZ #18035]
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ routines = setlocale findlocale loadlocale loadarchive \
|
||||||
localeconv nl_langinfo nl_langinfo_l mb_cur_max \
|
localeconv nl_langinfo nl_langinfo_l mb_cur_max \
|
||||||
newlocale duplocale freelocale uselocale
|
newlocale duplocale freelocale uselocale
|
||||||
tests = tst-C-locale tst-locname tst-duplocale
|
tests = tst-C-locale tst-locname tst-duplocale
|
||||||
tests-special = $(objpfx)tst-locale-locpath.out
|
|
||||||
categories = ctype messages monetary numeric time paper name \
|
categories = ctype messages monetary numeric time paper name \
|
||||||
address telephone measurement identification collate
|
address telephone measurement identification collate
|
||||||
aux = $(categories:%=lc-%) $(categories:%=C-%) SYS_libc C_name \
|
aux = $(categories:%=lc-%) $(categories:%=C-%) SYS_libc C_name \
|
||||||
|
|
@ -63,6 +62,10 @@ lib-modules := charmap-dir simple-hash xmalloc xstrdup \
|
||||||
GPERF = gperf
|
GPERF = gperf
|
||||||
GPERFFLAGS = -acCgopt -k1,2,5,9,$$ -L ANSI-C
|
GPERFFLAGS = -acCgopt -k1,2,5,9,$$ -L ANSI-C
|
||||||
|
|
||||||
|
ifeq ($(run-built-tests),yes)
|
||||||
|
tests-special += $(objpfx)tst-locale-locpath.out
|
||||||
|
endif
|
||||||
|
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
CFLAGS-md5.c += -I../crypt
|
CFLAGS-md5.c += -I../crypt
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue