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

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

Issue 22933005: [android] Make build_type a singleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix call to _LogToFile Created 7 years, 4 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
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
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 instrumentation_options.annotations, 189 instrumentation_options.annotations,
190 instrumentation_options.exclude_annotations, 190 instrumentation_options.exclude_annotations,
191 instrumentation_options.test_filter) 191 instrumentation_options.test_filter)
192 logging.debug('All available tests: ' + str( 192 logging.debug('All available tests: ' + str(
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.build_type,
200 instrumentation_options.push_deps, 199 instrumentation_options.push_deps,
201 instrumentation_options.cleanup_test_files) 200 instrumentation_options.cleanup_test_files)
202 201
203 return (TestRunnerFactory, available_tests) 202 return (TestRunnerFactory, available_tests)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698