aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLukas Lihotzki <lukas@lihotzki.de>2020-10-01 15:40:22 +0200
committerLukas Lihotzki <lukas@lihotzki.de>2020-10-01 15:40:22 +0200
commitadd885c8744b9fbd6dc213c01c5355c4773603fe (patch)
tree849bdf75b3df413ab22c527856922e662e7affe0 /Makefile
parentbe0c31894aa6f0feaf6add47987513ea0167de8b (diff)
add test_mem target for valgrind memcheck
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0d327b9..a96e3ab 100644
--- a/Makefile
+++ b/Makefile
@@ -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