def postprocess(trun):
plog = []<EOL>plog.append(("<STR_LIT>", process_trun(trun)))<EOL>for tsuite in trun["<STR_LIT>"]:<EOL><INDENT>plog.append(("<STR_LIT>", process_tsuite(tsuite)))<EOL>for tcase in tsuite["<STR_LIT>"]:<EOL><INDENT>plog.append(("<STR_LIT>", process_tcase(tcase)))<EOL><DEDENT><DEDENT>for task, success in plog:<EOL><INDENT>if not success:<EOL><INDENT>cij.err("<STR_LIT>" % task)<EOL><DEDENT><DEDENT>return sum((success for task, success in plog))<EOL>
Perform postprocessing of the given test run