mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Add --enable-hardcoded-path-in-tests configure option
This commit is contained in:
@@ -69,11 +69,11 @@ tests: do-tst-unbputc do-tst-printf
|
||||
|
||||
do-tst-unbputc: $(objpfx)tst-unbputc.out
|
||||
$(objpfx)tst-unbputc.out: tst-unbputc.sh $(objpfx)tst-unbputc
|
||||
$(SHELL) $< $(common-objpfx) '$(run-program-prefix)'
|
||||
$(SHELL) $< $(common-objpfx) '$(test-program-prefix)'
|
||||
|
||||
do-tst-printf: $(objpfx)tst-printf.out
|
||||
$(objpfx)tst-printf.out: tst-printf.sh $(objpfx)tst-printf
|
||||
$(SHELL) $< $(common-objpfx) '$(run-program-prefix)'
|
||||
$(SHELL) $< $(common-objpfx) '$(test-program-prefix)'
|
||||
endif
|
||||
|
||||
CFLAGS-vfprintf.c = -Wno-uninitialized
|
||||
@@ -127,7 +127,7 @@ tst-grouping-ENV = LOCPATH=$(common-objpfx)localedata
|
||||
CPPFLAGS += $(libio-mtsafe)
|
||||
|
||||
$(objpfx)tst-setvbuf1.out: tst-setvbuf1.expect $(objpfx)tst-setvbuf1
|
||||
$(built-program-cmd) > $@ 2>&1
|
||||
$(test-program-cmd) > $@ 2>&1
|
||||
cmp tst-setvbuf1.expect $@
|
||||
|
||||
ifeq ($(build-shared),yes)
|
||||
|
@@ -20,12 +20,12 @@
|
||||
set -e
|
||||
|
||||
common_objpfx=$1; shift
|
||||
run_program_prefix=$1; shift
|
||||
test_program_prefix=$1; shift
|
||||
|
||||
status=0
|
||||
|
||||
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
|
||||
${run_program_prefix} \
|
||||
${test_program_prefix} \
|
||||
${common_objpfx}stdio-common/tst-printf \
|
||||
> ${common_objpfx}stdio-common/tst-printf.out || status=1
|
||||
|
||||
|
@@ -20,11 +20,11 @@
|
||||
set -e
|
||||
|
||||
common_objpfx=$1; shift
|
||||
run_program_prefix=$1; shift
|
||||
test_program_prefix=$1; shift
|
||||
|
||||
status=0
|
||||
|
||||
${run_program_prefix} \
|
||||
${test_program_prefix} \
|
||||
${common_objpfx}stdio-common/tst-unbputc \
|
||||
2> ${common_objpfx}stdio-common/tst-unbputc.out || status=1
|
||||
|
||||
|
Reference in New Issue
Block a user