mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 16:21:06 +00:00
* stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
according to changes in test program, run also with static only builds. ($(objpfx)tst-printf.out): Likewise. * stdio-common/tst-unbputc.sh: Likewise. * stdio-common/tst-printf.sh: Likewise.
This commit is contained in:
parent
11fd973a1f
commit
5cb798252f
@ -60,18 +60,16 @@ test-srcs = tst-unbputc tst-printf
|
|||||||
|
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
ifeq (yes,$(build-shared))
|
|
||||||
.PHONY: do-tst-unbputc do-tst-printf
|
.PHONY: do-tst-unbputc do-tst-printf
|
||||||
tests: do-tst-unbputc do-tst-printf
|
tests: do-tst-unbputc do-tst-printf
|
||||||
|
|
||||||
do-tst-unbputc: $(objpfx)tst-unbputc.out
|
do-tst-unbputc: $(objpfx)tst-unbputc.out
|
||||||
$(objpfx)tst-unbputc.out: $(objpfx)tst-unbputc tst-unbputc.sh
|
$(objpfx)tst-unbputc.out: $(objpfx)tst-unbputc tst-unbputc.sh
|
||||||
$(SHELL) -e tst-unbputc.sh $(common-objpfx)
|
$(SHELL) -e tst-unbputc.sh $(common-objpfx) '$(run-program-prefix)'
|
||||||
|
|
||||||
do-tst-printf: $(objpfx)tst-printf.out
|
do-tst-printf: $(objpfx)tst-printf.out
|
||||||
$(objpfx)tst-printf.out: $(objpfx)tst-printf tst-printf.sh
|
$(objpfx)tst-printf.out: $(objpfx)tst-printf tst-printf.sh
|
||||||
$(SHELL) -e tst-printf.sh $(common-objpfx)
|
$(SHELL) -e tst-printf.sh $(common-objpfx) '$(run-program-prefix)'
|
||||||
endif
|
|
||||||
|
|
||||||
CFLAGS-vfprintf.c = -Wno-uninitialized
|
CFLAGS-vfprintf.c = -Wno-uninitialized
|
||||||
CFLAGS-tst-printf.c = -Wno-format
|
CFLAGS-tst-printf.c = -Wno-format
|
||||||
|
@ -19,11 +19,12 @@
|
|||||||
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
common_objpfx=$1; shift
|
common_objpfx=$1; shift
|
||||||
|
run_program_prefix=$1; shift
|
||||||
|
|
||||||
status=0
|
status=0
|
||||||
|
|
||||||
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
|
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
|
||||||
${common_objpfx}elf/ld.so --library-path $common_objpfx \
|
${run_program_prefix} \
|
||||||
${common_objpfx}stdio-common/tst-printf \
|
${common_objpfx}stdio-common/tst-printf \
|
||||||
> ${common_objpfx}stdio-common/tst-printf.out || status=1
|
> ${common_objpfx}stdio-common/tst-printf.out || status=1
|
||||||
|
|
||||||
|
@ -19,10 +19,11 @@
|
|||||||
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
common_objpfx=$1; shift
|
common_objpfx=$1; shift
|
||||||
|
run_program_prefix=$1; shift
|
||||||
|
|
||||||
status=0
|
status=0
|
||||||
|
|
||||||
${common_objpfx}elf/ld.so --library-path $common_objpfx \
|
${run_program_prefix} \
|
||||||
${common_objpfx}stdio-common/tst-unbputc \
|
${common_objpfx}stdio-common/tst-unbputc \
|
||||||
2> ${common_objpfx}stdio-common/tst-unbputc.out || status=1
|
2> ${common_objpfx}stdio-common/tst-unbputc.out || status=1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user