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

Side by Side Diff: tools/valgrind/asan/asan_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/unused-symbols-report.py ('k') | tools/valgrind/asan/chrome_tests.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 # asan_test.py
7
8 """Wrapper for running the test under AddressSanitizer.""" 5 """Wrapper for running the test under AddressSanitizer."""
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 logging.info('elapsed time: %02d:%02d:%02d', hours, minutes, seconds) 48 logging.info('elapsed time: %02d:%02d:%02d', hours, minutes, seconds)
52 logging.info('For more information on the AddressSanitizer bot see ' 49 logging.info('For more information on the AddressSanitizer bot see '
53 'http://dev.chromium.org/developers/testing/' 50 'http://dev.chromium.org/developers/testing/'
54 'addresssanitizer') 51 'addresssanitizer')
55 return retcode 52 return retcode
56 53
57 54
58 def RunTool(args, supp_files, module): 55 def RunTool(args, supp_files, module):
59 tool = ASanWrapper(supp_files) 56 tool = ASanWrapper(supp_files)
60 return tool.Main(args[1:]) 57 return tool.Main(args[1:])
OLDNEW
« no previous file with comments | « tools/unused-symbols-report.py ('k') | tools/valgrind/asan/chrome_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698