Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(760)

Side by Side Diff: tools/heapcheck/heapcheck_test.py

Issue 8678023: Fix python scripts in src/tools/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/heapcheck/chrome_tests.py ('k') | tools/heapcheck/suppressions.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 3 # found in the LICENSE file.
5 4
6 # heapcheck_test.py
7
8 """Wrapper for running the test under heapchecker and analyzing the output.""" 5 """Wrapper for running the test under heapchecker and analyzing the output."""
9 6
10 import datetime 7 import datetime
11 import logging 8 import logging
12 import os 9 import os
13 import re 10 import re
14 11
15 import common 12 import common
16 import path_utils 13 import path_utils
17 import suppressions 14 import suppressions
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 'http://dev.chromium.org/developers/how-tos/' 219 'http://dev.chromium.org/developers/how-tos/'
223 'using-the-heap-leak-checker') 220 'using-the-heap-leak-checker')
224 return retcode 221 return retcode
225 222
226 223
227 def RunTool(args, supp_files, module): 224 def RunTool(args, supp_files, module):
228 tool = HeapcheckWrapper(supp_files) 225 tool = HeapcheckWrapper(supp_files)
229 MODULES_TO_SANITY_CHECK = ["base"] 226 MODULES_TO_SANITY_CHECK = ["base"]
230 check_sanity = module in MODULES_TO_SANITY_CHECK 227 check_sanity = module in MODULES_TO_SANITY_CHECK
231 return tool.Main(args[1:], check_sanity) 228 return tool.Main(args[1:], check_sanity)
OLDNEW
« no previous file with comments | « tools/heapcheck/chrome_tests.py ('k') | tools/heapcheck/suppressions.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698