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

Side by Side Diff: client/bin/harness.py

Issue 6883035: Merge remote branch 'autotest-upstream/master' into autotest-merge (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 8 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 | « no previous file | client/bin/harness_ABAT.py » ('j') | client/profilers/perf/perf.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 """The harness interface 1 """The harness interface
2 2
3 The interface between the client and the server when hosted. 3 The interface between the client and the server when hosted.
4 """ 4 """
5 5
6 __author__ = """Copyright Andy Whitcroft 2006""" 6 __author__ = """Copyright Andy Whitcroft 2006"""
7 7
8 import os, sys, logging 8 import os, sys, logging
9 import common 9 import common
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 tests are run in parallel, this will only be called when all 70 tests are run in parallel, this will only be called when all
71 of the parallel runs complete.""" 71 of the parallel runs complete."""
72 pass 72 pass
73 73
74 74
75 def test_status(self, status, tag): 75 def test_status(self, status, tag):
76 """A test within this job is completing""" 76 """A test within this job is completing"""
77 pass 77 pass
78 78
79 79
80 def test_status_detail(self, code, subdir, operation, status, tag): 80 def test_status_detail(self, code, subdir, operation, status, tag,
81 optional_fields):
81 """A test within this job is completing (detail)""" 82 """A test within this job is completing (detail)"""
82 pass 83 pass
83 84
84 85
85 def select(which, job, harness_args): 86 def select(which, job, harness_args):
86 if not which: 87 if not which:
87 which = 'standalone' 88 which = 'standalone'
88 89
89 logging.debug('Selected harness: %s' % which) 90 logging.debug('Selected harness: %s' % which)
90 91
91 harness_name = 'harness_%s' % which 92 harness_name = 'harness_%s' % which
92 harness_module = common.setup_modules.import_module(harness_name, 93 harness_module = common.setup_modules.import_module(harness_name,
93 'autotest_lib.client.bin ') 94 'autotest_lib.client.bin ')
94 harness_instance = getattr(harness_module, harness_name)(job, harness_args) 95 harness_instance = getattr(harness_module, harness_name)(job, harness_args)
95 96
96 return harness_instance 97 return harness_instance
OLDNEW
« no previous file with comments | « no previous file | client/bin/harness_ABAT.py » ('j') | client/profilers/perf/perf.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698