diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-08-14 17:20:19 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-08-14 17:20:19 +0100 |
commit | 3d9efb5416d1f1058db3a7d71211254b35e1d07d (patch) | |
tree | 4f32123ab0e14f4ad14bae5f5478d8768ff88544 /check.mak | |
parent | 9aed1d7a80a38b76f9441ecf181942df99f09c38 (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.mak | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ; \ |