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

Side by Side Diff: build/android/pylib/valgrind_tools.py

Issue 10693110: [android] Split top-level scripts and libraries from build/android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright on __init__.py, removed #! on some pylib/ files. Created 8 years, 5 months 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 | « build/android/pylib/test_result.py ('k') | build/android/run_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 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # 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
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """ 5 """
6 Classes in this file define additional actions that need to be taken to run a 6 Classes in this file define additional actions that need to be taken to run a
7 test under some kind of runtime error detection tool. 7 test under some kind of runtime error detection tool.
8 8
9 The interface is intended to be used as follows. 9 The interface is intended to be used as follows.
10 10
11 1. For tests that simply run a native process (i.e. no activity is spawned): 11 1. For tests that simply run a native process (i.e. no activity is spawned):
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 if not tool_name: 176 if not tool_name:
177 return BaseTool() 177 return BaseTool()
178 178
179 ctor = TOOL_REGISTRY.get(tool_name) 179 ctor = TOOL_REGISTRY.get(tool_name)
180 if ctor: 180 if ctor:
181 return ctor(adb) 181 return ctor(adb)
182 else: 182 else:
183 print 'Unknown tool %s, available tools: %s' % ( 183 print 'Unknown tool %s, available tools: %s' % (
184 tool_name, ', '.join(sorted(TOOL_REGISTRY.keys()))) 184 tool_name, ', '.join(sorted(TOOL_REGISTRY.keys())))
185 sys.exit(1) 185 sys.exit(1)
OLDNEW
« no previous file with comments | « build/android/pylib/test_result.py ('k') | build/android/run_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698