From 928fd82f02a7abb3c52a7004899817b4aef144ab Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Wed, 20 Oct 2021 23:05:48 +0300 Subject: [PATCH] Makefile.meson: add test-valgrind target For valgrinding unit-tests --- Makefile.meson | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.meson b/Makefile.meson index 8427a1b2..7e069b88 100644 --- a/Makefile.meson +++ b/Makefile.meson @@ -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