makefile: add valgrind-check target for running test suite with valgrind leak-checking

pull/15/head
William Pitcock 2012-05-06 21:18:03 -05:00
parent 1b1e8dcd1a
commit 1244724905
1 changed files with 3 additions and 0 deletions

View File

@ -12,4 +12,7 @@ install-extra:
check: $(PROG) check: $(PROG)
$(SHELL) tests/run.sh ./$(PROG) $(SHELL) tests/run.sh ./$(PROG)
valgrind-check: $(PROG)
$(SHELL) tests/run.sh 'valgrind --leak-check=full --show-reachable=yes ./$(PROG)'
include .deps include .deps