diff options
Diffstat (limited to 'malloc/Makefile')
-rw-r--r-- | malloc/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile index 55476ca812..26b9fedc51 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -26,9 +26,10 @@ all: dist-headers := malloc.h headers := $(dist-headers) obstack.h mcheck.h tests := mallocbug tst-malloc tst-valloc tst-calloc +test-srcs = tst-mtrace distribute = thread-m.h mtrace.pl mcheck-init.c stackinfo.h memusage.h \ - memusage.sh memusagestat.c + memusage.sh memusagestat.c tst-mtrace.sh # Things which get pasted together into gmalloc.c. gmalloc-routines := malloc morecore @@ -91,6 +92,11 @@ $(objpfx)libmcheck.a: $(objpfx)mcheck-init.o lib: $(objpfx)libmcheck.a +.PHONY: do-tst-mtrace +tests: do-tst-mtrace +do-tst-mtrace: tst-mtrace.sh $(objpfx)tst-mtrace + $(SHELL) -e $< $(common-objpfx) + # Uncomment this for test releases. For public releases it is too expensive. #CPPFLAGS-malloc.o += -DMALLOC_DEBUG |