ignore grids in html error output

This commit is contained in:
Dane Springmeyer 2013-05-20 21:32:32 -07:00
parent 871ac5b4bb
commit dee252eb88

View File

@ -185,7 +185,8 @@ class Reporting:
continue
elif error[0] == self.DIFF:
print str(idx+1) + ") \x1b[34m%s different pixels\x1b[0m:\n\t%s (\x1b[31mactual\x1b[0m)\n\t%s (\x1b[32mexpected\x1b[0m)" % (error[3], error[1], error[2])
sortable_errors.append((error[3],error))
if '.png' in error[1]: # ignore grids
sortable_errors.append((error[3],error))
elif error[0] == self.REPLACE:
print str(idx+1) + ") \x1b[31mreplaced reference with new version:\x1b[0m %s" % error[2]
if len(sortable_errors):