6 res = pickle.load(open(sys.argv[1], 'r'))
10 failed = [(name,error) for (name, time, output, error, r_code) in res
12 print "failed tests:", str(len(failed)) + '/' + str(total)
14 for (name, error) in failed:
23 for (name, time, output, error, r_code) in res:
28 ref = open(name.split('.')[0] + '.txt').read()
32 #TODO find and record the error
35 print "average runtime:", (t/n)
36 print "correct:", str(correct) + '/' + str(n)