Skip to content

Commit 5308d54

Browse files
committed
Update test_screenshots.cpp
1 parent 8c257d0 commit 5308d54

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/test_screenshots/test_screenshots.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@ static void render_splash(const char* name, bool darkMode) {
606606
char diff_path[256];
607607
snprintf(diff_path, sizeof(diff_path), "%s/%s_diff.bmp", OUTPUT_DIR, name);
608608
emulator_save_diff_bmp(ref_path, out_path, diff_path);
609+
EXPECT_EQ(0, diff) << "Screenshot regression: " << name << " has " << diff << " differing pixels";
609610
}
610611
} else {
611612
printf(" [INFO] No reference for '%s' - generating initial reference\n", name);

0 commit comments

Comments
 (0)