Makefile.meson: add test-valgrind target

For valgrinding unit-tests
This commit is contained in:
Dirk-Jan C. Binnema 2021-10-20 23:05:48 +03:00
parent 0e0361fb5c
commit 928fd82f02
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ check: test
test: $(BUILDDIR)
@cd $(BUILDDIR); $(MESON) test
test-valgrind: $(BUILDDIR)
@cd $(BUILDDIR); $(MESON) test --wrap='valgrind --leak-check=full --error-exitcode=1'
dist: $(BUILDDIR)
@cd $(BUILDDIR); $(MESON) dist