Compare commits

..

2 Commits

Author SHA1 Message Date
TheTechnician27 3c470d1a27
Merge cb2b94b82c into 513c44f07f 2025-01-16 21:30:58 -06:00
lightningterror 513c44f07f DumpRunner: Fix compare when frames are missing. 2025-01-17 04:29:37 +01:00
1 changed files with 9 additions and 2 deletions

View File

@ -113,8 +113,15 @@ def check_regression_test(baselinedir, testdir, name):
path2 = os.path.join(dir2, imagename)
if not os.path.isfile(path2):
print("--- Frame %u for %s is missing in test set" % (framenum, name))
write("<h1>{}</h1>".format(name))
write("<pre>--- Frame %u for %s is missing in test set</pre>" % (framenum, name))
if first_fail:
write("<h1>{}</h1>".format(name))
if first_fail == False:
write("</table>")
write("<pre>--- Frame %u for %s is missing in test set</pre>" % (framenum, name))
write("</div>")
else:
write("<pre>--- Frame %u for %s is missing in test set</pre>" % (framenum, name))
return False
if not compare_frames(path1, path2):