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

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

Issue 25525003: Add new Android test runner command to handle linker tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: formatting Created 7 years, 2 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/linker/__init__.py ('k') | build/android/pylib/linker/test_case.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 """Setup for linker tests."""
6
7 import logging
8 import os
9 import sys
10 import types
11
12 import test_case
13 import test_runner
14
15
16 def Setup(options, devices):
17 """Creates a list of test cases and a runner factory.
18
19 Returns:
20 A tuple of (TestRunnerFactory, tests).
21 """
22
23 all_tests = [
24 test_case.LinkerTestCase('ForRegularDevice',
25 is_low_memory=False),
26 test_case.LinkerTestCase('ForLowMemoryDevice',
27 is_low_memory=True) ]
28
29 def TestRunnerFactory(device, shard_index):
30 return test_runner.LinkerTestRunner(
31 device, options.tool, options.push_deps,
32 options.cleanup_test_files)
33
34 return (TestRunnerFactory, all_tests)
OLDNEW
« no previous file with comments | « build/android/pylib/linker/__init__.py ('k') | build/android/pylib/linker/test_case.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698