Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Jan 17, 2025
1 parent aaca209 commit cc992b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/gtest/avifallocationtest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,18 @@ TEST(EncodingTest, MaximumInvalidDimensions) {
}

#if defined(clang) && defined(__has_feature)
#warning "pass 1"
// has to be on a different line for Windows.
#if __has_feature(memory_sanitizer)
#define TEST_EXTREMES 0
#warning "pass 2"
#else
#define TEST_EXTREMES 1
#warning "pass 3"
#endif
#else
#define TEST_EXTREMES 1
#warning "pass 4"
#endif

#if TEST_EXTREMES
Expand Down

0 comments on commit cc992b0

Please sign in to comment.