add test_mem target for valgrind memcheck
This commit is contained in:
parent
be0c31894a
commit
add885c874
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -225,6 +225,12 @@ test: build_tests
|
||||||
$$i || exit $$?; \
|
$$i || exit $$?; \
|
||||||
done
|
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)
|
fuzzers: $(FUZZER_BINARIES) $(FUZZER_DEBUG_BINARIES)
|
||||||
.PHONY: fuzzers
|
.PHONY: fuzzers
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue