From 17e2b831179bcb51360e67d93f51a4fa69a5678b Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 5 Apr 2012 08:48:46 -0700 Subject: [PATCH] run valgrind over all C++ tests but only output 'definitely lost' values --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e6a05572f..cd956cedc 100755 --- a/Makefile +++ b/Makefile @@ -34,6 +34,8 @@ pep8: @pep8 -r --select=W391 -q --filename=*.py `pwd`/tests/ | xargs gsed -i -e :a -e '/^\n*$/{$d;N;ba' -e '}' grind: - @valgrind --leak-check=full tests/cpp_tests/font_registration_test + @for FILE in tests/cpp_tests/*-bin; do \ + valgrind --leak-check=full --log-fd=1 $${FILE} | grep definitely; \ + done .PHONY: clean reset uninstall test install