projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d5687e0
)
システムテスト全体に対するmake valgrindができるように
author
j8takagi
<j8takagi@nifty.com>
Sat, 23 Jun 2018 15:52:18 +0000
(
00:52
+0900)
committer
j8takagi
<j8takagi@nifty.com>
Sat, 23 Jun 2018 15:52:18 +0000
(
00:52
+0900)
Makefile
patch
|
blob
|
history
test/system/Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/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)/
diff --git
a/test/system/Makefile
b/test/system/Makefile
index
3d0fc30
..
74f8a4a
100644
(file)
--- a/
test/system/Makefile
+++ b/
test/system/Makefile
@@
-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),$@; )