Lines Matching refs:log
27 log = None variable
109 global log
142 log = multiplexed_log.Logfile(result_dir + '/test-log.html')
163 with log.section(name):
164 runner = log.get_runner(name, sys.stdout)
168 log.status_pass('OK')
224 console = u_boot_console_sandbox.ConsoleSandbox(log, ubconfig)
227 console = u_boot_console_exec_attach.ConsoleExecAttach(log, ubconfig)
341 return console.log
410 if log:
411 with log.section('Status Report', 'status_report'):
412 log.status_pass('%d passed' % len(tests_passed))
414 log.status_warning('%d passed with warning' % len(tests_warning))
417 log.status_warning('... ' + test, anchor)
419 log.status_skipped('%d skipped' % len(tests_skipped))
422 log.status_skipped('... ' + test, anchor)
424 log.status_xpass('%d xpass' % len(tests_xpassed))
427 log.status_xpass('... ' + test, anchor)
429 log.status_xfail('%d xfail' % len(tests_xfailed))
432 log.status_xfail('... ' + test, anchor)
434 log.status_fail('%d failed' % len(tests_failed))
437 log.status_fail('... ' + test, anchor)
439 log.status_fail('%d not run' % len(tests_not_run))
442 log.status_fail('... ' + test, anchor)
443 log.close()
522 anchors[item.name] = log.start_section(item.name)
556 log.get_and_reset_warning()
561 was_warning = log.get_and_reset_warning()
575 msg_log = log.status_pass
579 msg_log = log.status_warning
585 msg_log = log.status_xpass
590 msg_log = log.status_fail
597 msg_log = log.status_xfail
601 msg_log = log.status_skipped
624 log.end_section(item.name)