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:
@@ -109,7 +109,7 @@ ifeq (yes,$(build-shared))
|
||||
ifneq ($(PERL),no)
|
||||
tests: $(objpfx)tst-mtrace.out
|
||||
$(objpfx)tst-mtrace.out: tst-mtrace.sh $(objpfx)tst-mtrace
|
||||
$(SHELL) $< $(common-objpfx) '$(run-program-prefix)'
|
||||
$(SHELL) $< $(common-objpfx) '$(test-program-prefix)'
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
@@ -20,14 +20,14 @@
|
||||
set -e
|
||||
|
||||
common_objpfx=$1; shift
|
||||
run_program_prefix=$1; shift
|
||||
test_program_prefix=$1; shift
|
||||
|
||||
status=0
|
||||
trap "rm -f ${common_objpfx}malloc/tst-mtrace.leak; exit 1" 1 2 15
|
||||
|
||||
MALLOC_TRACE=${common_objpfx}malloc/tst-mtrace.leak \
|
||||
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
|
||||
${run_program_prefix} \
|
||||
${test_program_prefix} \
|
||||
${common_objpfx}malloc/tst-mtrace || status=1
|
||||
|
||||
if test $status -eq 0 && test -f ${common_objpfx}malloc/mtrace; then
|
||||
|
Reference in New Issue
Block a user