summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/memcheck_analyze.py
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 19:58:44 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-29 19:58:44 +0000
commit5c49bf95389c06ed30d3414bc6cdb0c894522df9 (patch)
tree4fe1d25be54993afef5685d8f92896ad69912853 /tools/valgrind/memcheck_analyze.py
parent1a9556a32d05d62d0efb8ef045bb91a421c29a6a (diff)
downloadchromium_src-5c49bf95389c06ed30d3414bc6cdb0c894522df9.zip
chromium_src-5c49bf95389c06ed30d3414bc6cdb0c894522df9.tar.gz
chromium_src-5c49bf95389c06ed30d3414bc6cdb0c894522df9.tar.bz2
Follow-up for r54118 - fix wrong per-test error count
TBR=glider,thestig Review URL: http://codereview.chromium.org/3069011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/memcheck_analyze.py')
-rwxr-xr-xtools/valgrind/memcheck_analyze.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/valgrind/memcheck_analyze.py b/tools/valgrind/memcheck_analyze.py
index 1b5a339..ff02973 100755
--- a/tools/valgrind/memcheck_analyze.py
+++ b/tools/valgrind/memcheck_analyze.py
@@ -543,8 +543,8 @@ class MemcheckAnalyzer:
sys.stdout.flush()
retcode = 0
- if self._errors:
- logging.error("FAIL! There were %s errors: " % len(self._errors))
+ if cur_report_errors:
+ logging.error("FAIL! There were %s errors: " % len(cur_report_errors))
if TheAddressTable != None:
TheAddressTable.ResolveAll()