diff options
author | EuAndreh <eu@euandre.org> | 2021-08-05 16:21:11 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-08-05 16:21:11 -0300 |
commit | 910840fdee8ecdb0ca720d4a52859ef2f7de88b9 (patch) | |
tree | 5fc188a9c475a356c1f3096776a53f97b5d91274 | |
parent | Use .git symlink to simplify testing of embedded repositories (diff) | |
download | gistatic-910840fdee8ecdb0ca720d4a52859ef2f7de88b9.tar.gz gistatic-910840fdee8ecdb0ca720d4a52859ef2f7de88b9.tar.xz |
Makefile: Add "c-dev-check" target with Valgrind
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -63,7 +63,18 @@ uninstall: # Personal workflow targets # -dev-check: check public + +VALGRIND_FLAGS = \ + --show-error-list=yes \ + --show-leak-kinds=all \ + --leak-check=full \ + --track-origins=yes \ + --error-exitcode=1 + +c-dev-check: check + valgrind $(VALGRIND_FLAGS) ./src/gistatic.t + +dev-check: c-dev-check public sh aux/assert-shellcheck.sh sh aux/workflow/assert-todos.sh sh aux/workflow/assert-changelog.sh -n $(NAME) |