Lines Matching refs:output_dest
215 def print_context(output_dest, header, testsuite_context):
220 output_dest.write('\n'.join(['', '=' * 40, header, '-' * 40, '']))
223 output_dest.write('<output test="%s">\n%s\n</output>\n' %
336 output_dest = open(opts.output_file, 'w')
340 output_dest = sys.stdout
373 output_dest.write("%s doesn't exist; skipping "
388 output_dest.write('Error encountered when parsing results for '
425 print_context(output_dest,
431 print_context(output_dest,
436 output_dest.write("""
451 print_context(output_dest, "FAILED TESTCASES", failed_context)
455 print_context(output_dest, "PASSED TESTCASES", passed_context)
457 output_dest.write("""
469 if output_dest != sys.stdout:
471 output_dest.close()