システムテスト全体に対するmake valgrindができるように
authorj8takagi <j8takagi@nifty.com>
Sat, 23 Jun 2018 15:52:18 +0000 (00:52 +0900)
committerj8takagi <j8takagi@nifty.com>
Sat, 23 Jun 2018 15:52:18 +0000 (00:52 +0900)
Makefile
test/system/Makefile

index a1921f4..3562d83 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 .PHONY: all build gtags \
 .PHONY: all build gtags \
-        check \
+        check valgrind \
         doc alldoc doc_inner \
         install uninstall \
         version gittag \
         doc alldoc doc_inner \
         install uninstall \
         version gittag \
@@ -60,6 +60,9 @@ doc_inner:
 check:
        $(MAKE) -sC test/system
 
 check:
        $(MAKE) -sC test/system
 
+valgrind:
+       $(MAKE) -sC test/system valgrind
+
 install: casl2 comet2 dumpword install-info
        $(INSTALL) -d $(bindir)
        $(INSTALL) $(CMD) $(bindir)/
 install: casl2 comet2 dumpword install-info
        $(INSTALL) -d $(bindir)
        $(INSTALL) $(CMD) $(bindir)/
index 3d0fc30..74f8a4a 100644 (file)
@@ -4,10 +4,13 @@ define make_dirs
     $(foreach d,$1,$(MAKE) -sC $d $2)
 endef
 
     $(foreach d,$1,$(MAKE) -sC $d $2)
 endef
 
-.PHONY: check clean
+.PHONY: check valgrind clean
 
 check:
        @$(call make_dirs,$(CMD),$@; )
 
 
 check:
        @$(call make_dirs,$(CMD),$@; )
 
+valgrind:
+       @$(call make_dirs,$(CMD),$@; )
+
 clean:
        @$(call make_dirs,$(CMD),$@; )
 clean:
        @$(call make_dirs,$(CMD),$@; )