Skip to content

Commit 96988c8

Browse files
author
Christian Hergert
committed
build: add valgrind target.
1 parent e0506e3 commit 96988c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Makefile.am

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ endif
140140
./$$TEST_PROG $(TEST_ARGS) -F test.log; \
141141
done
142142

143+
valgrind: $(TEST_PROGS)
144+
$(LIBTOOL) --mode=execute valgrind --leak-check=full ./test-libmongoc -f -p
145+
143146
if OS_LINUX
144147
abicheck:
145148
@ $(srcdir)/tests/abicheck.sh "$(srcdir)/src/libmongoc.symbols"

0 commit comments

Comments
 (0)