mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
DumpRunner: Fix compare when frames are missing.
This commit is contained in:
parent
0090655899
commit
513c44f07f
@ -113,8 +113,15 @@ def check_regression_test(baselinedir, testdir, name):
|
|||||||
path2 = os.path.join(dir2, imagename)
|
path2 = os.path.join(dir2, imagename)
|
||||||
if not os.path.isfile(path2):
|
if not os.path.isfile(path2):
|
||||||
print("--- Frame %u for %s is missing in test set" % (framenum, name))
|
print("--- Frame %u for %s is missing in test set" % (framenum, name))
|
||||||
write("<h1>{}</h1>".format(name))
|
if first_fail:
|
||||||
write("<pre>--- Frame %u for %s is missing in test set</pre>" % (framenum, name))
|
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
|
return False
|
||||||
|
|
||||||
if not compare_frames(path1, path2):
|
if not compare_frames(path1, path2):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user