This makes it more convenient to follow live test execution status.
Signed-hostap: Jouni Malinen <j@w1.fi>
logger.info("START " + t.__name__)
if log_file:
print "START " + t.__name__
+ sys.stdout.flush()
if t.__doc__:
logger.info("Test: " + t.__doc__)
start = datetime.now()
logger.info(result)
if log_file or print_res:
print result
+ sys.stdout.flush()
if results_file:
f = open(results_file, 'a')
f.write(result + "\n")
logger.info(result)
if log_file:
print result
+ sys.stdout.flush()
if results_file:
f = open(results_file, 'a')
f.write(result + "\n")