Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pablode authored Nov 30, 2024
1 parent 4675e90 commit 3722028
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hdGatling/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ class GraphicalTestContext
errorPixelCount += (diff > 0) ? 1 : 0;
diffValues[i] = 255 - uint8_t(diff);
}
CHECK_EQ(errorPixelCount, 0);
// TODO: threshold as namespaced setting
CHECK_LE(errorPixelCount, 2);
TF_STATUS("10");

HioImageSharedPtr diffImage = HioImage::OpenForWriting(diffPath);
Expand Down

0 comments on commit 3722028

Please sign in to comment.