Skip to content

Commit

Permalink
DumpRunner: Fix compare when frames are missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
lightningterror committed Jan 17, 2025
1 parent 0090655 commit 513c44f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pcsx2-gsrunner/test_check_dumps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 513c44f

Please sign in to comment.