summaryrefslogtreecommitdiff
path: root/check.mak
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-08-14 17:20:19 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-08-14 17:20:19 +0100
commit3d9efb5416d1f1058db3a7d71211254b35e1d07d (patch)
tree4f32123ab0e14f4ad14bae5f5478d8768ff88544 /check.mak
parent9aed1d7a80a38b76f9441ecf181942df99f09c38 (diff)
check.mak: fail valgrind checks only if we find == at the beginning of a line
Otherwise valgrind checks will fail if there's a "==" anywhere in the output, which can easily happen when running with debug logging enabled, for example.
Diffstat (limited to 'check.mak')
-rw-r--r--check.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.mak b/check.mak
index 8a90b5d..25a16e6 100644
--- a/check.mak
+++ b/check.mak
@@ -57,7 +57,7 @@ LOOPS ?= 10
--show-possibly-lost=no \
--leak-resolution=high --num-callers=20 \
./$* 2>&1 | tee $$valgrind_log ; \
- if grep "==" $$valgrind_log > /dev/null 2>&1; then \
+ if grep "^==" $$valgrind_log > /dev/null 2>&1; then \
rm $$valgrind_log; \
exit 1; \
fi ; \