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

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

Issue 6539001: Merge remote branch 'cros/upstream' into master. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 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 | Annotate | Revision Log
« no previous file with comments | « client/bin/harness.py ('k') | client/bin/harness_autoserv.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 """The ABAT harness interface 1 """The ABAT harness interface
2 2
3 The interface as required for ABAT. 3 The interface as required for ABAT.
4 """ 4 """
5 5
6 __author__ = """Copyright Andy Whitcroft 2006""" 6 __author__ = """Copyright Andy Whitcroft 2006"""
7 7
8 from autotest_lib.client.bin import utils 8 from autotest_lib.client.bin import utils
9 import os, harness, time, re 9 import os, harness, time, re
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 39
40 class harness_ABAT(harness.harness): 40 class harness_ABAT(harness.harness):
41 """The ABAT server harness 41 """The ABAT server harness
42 42
43 Properties: 43 Properties:
44 job 44 job
45 The job object for this job 45 The job object for this job
46 """ 46 """
47 47
48 def __init__(self, job): 48 def __init__(self, job, harness_args):
49 """ 49 """
50 job 50 job
51 The job object for this job 51 The job object for this job
52 """ 52 """
53 self.setup(job) 53 self.setup(job)
54 54
55 if 'ABAT_STATUS' in os.environ: 55 if 'ABAT_STATUS' in os.environ:
56 self.status = file(os.environ['ABAT_STATUS'], "w") 56 self.status = file(os.environ['ABAT_STATUS'], "w")
57 else: 57 else:
58 self.status = None 58 self.status = None
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 lines = msg.split("\n") 138 lines = msg.split("\n")
139 self.__send_status(code, subdir, operation, lines[0]) 139 self.__send_status(code, subdir, operation, lines[0])
140 140
141 141
142 def test_status(self, msg, tag): 142 def test_status(self, msg, tag):
143 lines = msg.split("\n") 143 lines = msg.split("\n")
144 144
145 # Send each line as a SUMMARY message. 145 # Send each line as a SUMMARY message.
146 for line in lines: 146 for line in lines:
147 self.__send("SUMMARY :" + line) 147 self.__send("SUMMARY :" + line)
OLDNEW
« no previous file with comments | « client/bin/harness.py ('k') | client/bin/harness_autoserv.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698