about summary refs log tree commit diff stats
path: root/cpp/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/makefile')
-rw-r--r--cpp/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/makefile b/cpp/makefile
index aa72de17..d3a64f8d 100644
--- a/cpp/makefile
+++ b/cpp/makefile
@@ -23,7 +23,7 @@ test: mu
 	./mu test
 
 valgrind: mu
-	valgrind -q --leak-check=yes ./mu test
+	valgrind --leak-check=yes -q --error-exitcode=1 ./mu test
 
 # auto-generated files; by convention they end in '_list'.
 autogenerated_lists: mu.cc function_list test_list