(tests): Don't do it for cross compiling.
This commit is contained in:
parent
62c2758224
commit
77e4b6fe4a
@ -93,11 +93,13 @@ $(objpfx)libmcheck.a: $(objpfx)mcheck-init.o
|
||||
|
||||
lib: $(objpfx)libmcheck.a
|
||||
|
||||
ifeq (no,$(cross-compiling))
|
||||
ifeq (yes,$(build-shared))
|
||||
tests: $(objpfx)tst-mtrace.out
|
||||
$(objpfx)tst-mtrace.out: tst-mtrace.sh $(objpfx)tst-mtrace
|
||||
$(SHELL) -e $< $(common-objpfx)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Uncomment this for test releases. For public releases it is too expensive.
|
||||
#CPPFLAGS-malloc.o += -DMALLOC_DEBUG
|
||||
|
@ -60,6 +60,7 @@ test-srcs = tst-unbputc tst-printf
|
||||
|
||||
include ../Rules
|
||||
|
||||
ifeq ($(cross-compiling),no)
|
||||
.PHONY: do-tst-unbputc do-tst-printf
|
||||
tests: do-tst-unbputc do-tst-printf
|
||||
|
||||
@ -70,6 +71,7 @@ $(objpfx)tst-unbputc.out: $(objpfx)tst-unbputc tst-unbputc.sh
|
||||
do-tst-printf: $(objpfx)tst-printf.out
|
||||
$(objpfx)tst-printf.out: $(objpfx)tst-printf tst-printf.sh
|
||||
$(SHELL) -e tst-printf.sh $(common-objpfx) '$(run-program-prefix)'
|
||||
endif
|
||||
|
||||
CFLAGS-vfprintf.c = -Wno-uninitialized
|
||||
CFLAGS-tst-printf.c = -Wno-format
|
||||
|
Loading…
x
Reference in New Issue
Block a user