diff options
author | Lukas Lihotzki <lukas@lihotzki.de> | 2020-10-01 15:40:22 +0200 |
---|---|---|
committer | Lukas Lihotzki <lukas@lihotzki.de> | 2020-10-01 15:40:22 +0200 |
commit | add885c8744b9fbd6dc213c01c5355c4773603fe (patch) | |
tree | 849bdf75b3df413ab22c527856922e662e7affe0 /Makefile | |
parent | be0c31894aa6f0feaf6add47987513ea0167de8b (diff) |
add test_mem target for valgrind memcheck
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -225,6 +225,12 @@ test: build_tests $$i || exit $$?; \ done +test_mem: build_tests + for i in $(TEST_BINARIES); do \ + echo $$i; \ + valgrind -q --leak-check=yes --exit-on-first-error=yes --error-exitcode=1 $$i || exit $$?; \ + done + fuzzers: $(FUZZER_BINARIES) $(FUZZER_DEBUG_BINARIES) .PHONY: fuzzers |