parameters: (results)
return_statement: return 0 if test_status else 1
docstring: Creates results step and prints results on buildbot job.
docstring_summary: Creates results step and prints results on buildbot job.
docstring_tokens: Creates results step and prints results on buildbot job .
function: def _OutputOverallResults(results):
    """Creates results step and prints results on buildbot job."""
    test_status = all(current_value == True for current_value in results.values())
    bisect_utils.OutputAnnotationStepStart(
        'Results - %s' % ('Passed' if test_status else 'Failed'))
    print
    print 'Results of benchmarks:'
    print
    for benchmark, result in results.iteritems():
      print '%s: %s' % (benchmark, 'Passed' if result else 'Failed')
    if not test_status:
      bisect_utils.OutputAnnotationStepFailure()
    bisect_utils.OutputAnnotationStepClosed()
    # Returns 0 for success and 1 for failure.
    return 0 if test_status else 1
function_tokens: def _OutputOverallResults ( results ) : test_status = all ( current_value == True for current_value in results . values ( ) ) bisect_utils . OutputAnnotationStepStart ( 'Results - %s' % ( 'Passed' if test_status else 'Failed' ) ) print print 'Results of benchmarks:' print for benchmark , result in results . iteritems ( ) : print '%s: %s' % ( benchmark , 'Passed' if result else 'Failed' ) if not test_status : bisect_utils . OutputAnnotationStepFailure ( ) bisect_utils . OutputAnnotationStepClosed ( ) # Returns 0 for success and 1 for failure. return 0 if test_status else 1