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

Side by Side Diff: build/android/pylib/host_driven/setup.py

Issue 153743008: Revert of Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merging with changes to pylib/linker/test_case.py. Created 6 years, 10 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 """Setup for instrumentation host-driven tests.""" 5 """Setup for instrumentation host-driven tests."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 import sys 9 import sys
10 import types 10 import types
11 11
12 from pylib.host_driven import test_case 12 import test_case
13 from pylib.host_driven import test_info_collection 13 import test_info_collection
14 from pylib.host_driven import test_runner 14 import test_runner
15 15
16 16
17 def _GetPythonFiles(root, files): 17 def _GetPythonFiles(root, files):
18 """Returns all files from |files| that end in 'Test.py'. 18 """Returns all files from |files| that end in 'Test.py'.
19 19
20 Args: 20 Args:
21 root: A directory name with python files. 21 root: A directory name with python files.
22 files: A list of file names. 22 files: A list of file names.
23 23
24 Returns: 24 Returns:
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 [t.tagged_name for t in available_tests])) 193 [t.tagged_name for t in available_tests]))
194 194
195 def TestRunnerFactory(device, shard_index): 195 def TestRunnerFactory(device, shard_index):
196 return test_runner.HostDrivenTestRunner( 196 return test_runner.HostDrivenTestRunner(
197 device, shard_index, 197 device, shard_index,
198 instrumentation_options.tool, 198 instrumentation_options.tool,
199 instrumentation_options.push_deps, 199 instrumentation_options.push_deps,
200 instrumentation_options.cleanup_test_files) 200 instrumentation_options.cleanup_test_files)
201 201
202 return (TestRunnerFactory, available_tests) 202 return (TestRunnerFactory, available_tests)
OLDNEW
« no previous file with comments | « build/android/pylib/gtest/test_package_exe.py ('k') | build/android/pylib/host_driven/test_case.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698