Skip to content

Commit

Permalink
Revert testing change
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilsnd committed Aug 28, 2024
1 parent be63361 commit d6cdab3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/src/mbgl/test/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ void checkImage(const std::string& base,
const PremultipliedImage& actual,
double imageThreshold,
double pixelThreshold) {
//#if !TEST_READ_ONLY
//if (getenv("UPDATE")) {
#if !TEST_READ_ONLY
if (getenv("UPDATE")) {
util::write_file(base + "/expected.png", encodePNG(actual));
//return;
//}
//#endif
return;
}
#endif

std::string expected_image;
try {
Expand Down

0 comments on commit d6cdab3

Please sign in to comment.