def echo_results_file(results_file, no_color, verbose=False):
try:<EOL><INDENT>data = collect_results(results_file)<EOL><DEDENT>except ValueError:<EOL><INDENT>echo_style(<EOL>'<STR_LIT>',<EOL>no_color,<EOL>fg='<STR_LIT>'<EOL>)<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>except Exception as error:<EOL><INDENT>echo_style(<EOL>'<STR_LIT>' % error,<EOL>no_color,<EOL>fg='<STR_LIT>'<EOL>)<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>echo_results(data, no_color, verbose)<EOL>
Print test results in nagios style format.