Lines Matching refs:line

182         for line in file(path):
183 head, rest = line.split(": ", 1)
228 def parse_line_into_dicts(line, attr_dict, perf_dict): argument
229 key, value = line.split("=", 1)
265 def is_status_line(line): argument
266 return re.search(r"^\t*(\S[^\t]*\t){3}", line) is not None
270 def parse_line(cls, line): argument
271 if not status_line.is_status_line(line):
273 match = re.search(r"^(\t*)(.*)$", line, flags=re.DOTALL)
278 raise RuntimeError("line %r could not be parsed." % line)
279 indent, line = match.groups()
283 parts = line.rstrip("\n").split("\t")
331 line = buffer.get()
332 tko_utils.dprint('\nSTATUS: ' + line.strip())
333 line = status_line.parse_line(line)
334 if line is None:
339 if (line.type == "START" and not line.subdir and
340 not line.testname):
348 if (line.type == "END" and not line.subdir and
349 not line.testname):
358 if line.type == "START":
361 if line.indent == sought_level:
364 line.optional_fields, "timestamp")
371 line.status, line.subdir,
372 line.testname, line.reason])
373 stack.update(line.status)
375 if line.status == "ALERT":
377 alert_pending = line.reason
381 if (line.testname == "Autotest.install" and
382 line.status == "GOOD"):
388 if (line.testname == "reboot" and line.type == "END"):
394 if line.testname is None:
395 if (line.status == "ABORT" and
396 line.type != "END"):
397 line.testname = "CLIENT_JOB"
404 if line.type == "END":
405 line.subdir = group_subdir
408 if (line.indent != sought_level and
409 line.status != "ABORT" and
410 not line.testname.startswith('reboot.')):
411 if line.subdir:
413 + line.subdir)
414 group_subdir = line.subdir
417 (line.indent, sought_level))
422 if (line.testname is None or
424 line.testname)):
425 if line.subdir and '.' in line.subdir:
426 line.testname = line.subdir
429 if line.testname == "reboot.start":
431 line.optional_fields, "timestamp")
438 if line.testname == "reboot.verify":
439 line.testname = "boot.%d" % boot_count
442 verify_ident = line.reason.strip()
447 line.status = "ALERT"
448 line.reason = alert_pending
453 line.optional_fields, "timestamp")
457 (final_status, line.subdir,
458 line.testname, line.reason))
459 new_test = test.parse_test(self.job, line.subdir,
460 line.testname,
461 final_status, line.reason,