def METHOD_NAME(results, elapsed):
    ''' At the end display the errors of project that failed '''
    failed = 0
    expected_failures = 0
    for errcode, stdout, stderr, path, rule in results:
        if errcode == 0:
            continue
        if errcode is not None:
            failed += 1
        else:
            expected_failures += 1
    print("Finished in %.3fs" % elapsed)
    print("%s tests, %s errors" % (len(results), failed))
    print("%s expected failure(s)" % expected_failures)
    return 0 if not failed else 1