From aafaca51cfbdc66a6ff9af52121470f59b9559ac Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 15 Sep 2025 19:58:56 -0400 Subject: Check for leaks in `make test` --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 65a7055..f68e530 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ __build: $(MAKE) -C $(BUILD_DIR) test: __build - valgrind --exit-on-first-error=yes --error-exitcode=1 $(BUILD_DIR)/tests + valgrind --exit-on-first-error=yes --error-exitcode=1 --track-origins=yes \ + --leak-check=full --show-leak-kinds=all $(BUILD_DIR)/tests .PHONY: __build test -- cgit v1.2.3