From: j8takagi Date: Sat, 23 Jun 2018 15:52:18 +0000 (+0900) Subject: システムテスト全体に対するmake valgrindができるように X-Git-Tag: v0.4p1~12 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0dfd8c48c50bf77ad064f02ecfb01b18d64c7f1;p=YACASL2.git システムテスト全体に対するmake valgrindができるように --- diff --git a/Makefile b/Makefile index a1921f4..3562d83 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .PHONY: all build gtags \ - check \ + check valgrind \ doc alldoc doc_inner \ install uninstall \ version gittag \ @@ -60,6 +60,9 @@ doc_inner: check: $(MAKE) -sC test/system +valgrind: + $(MAKE) -sC test/system valgrind + install: casl2 comet2 dumpword install-info $(INSTALL) -d $(bindir) $(INSTALL) $(CMD) $(bindir)/ diff --git a/test/system/Makefile b/test/system/Makefile index 3d0fc30..74f8a4a 100644 --- a/test/system/Makefile +++ b/test/system/Makefile @@ -4,10 +4,13 @@ define make_dirs $(foreach d,$1,$(MAKE) -sC $d $2) endef -.PHONY: check clean +.PHONY: check valgrind clean check: @$(call make_dirs,$(CMD),$@; ) +valgrind: + @$(call make_dirs,$(CMD),$@; ) + clean: @$(call make_dirs,$(CMD),$@; )