| OLD | NEW |
| 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 Loading... |
| 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:]) |
| OLD | NEW |