Index: tests/BitmapTest.cpp |
diff --git a/tests/BitmapTest.cpp b/tests/BitmapTest.cpp |
index 58e3c8b3ec71be8e7eb68f263a5a7b55e50f58d4..015b917464e7b2c48c164cd23c7d782b7cd08fb3 100644 |
--- a/tests/BitmapTest.cpp |
+++ b/tests/BitmapTest.cpp |
@@ -151,7 +151,9 @@ static void test_erasecolor_premul(skiatest::Reporter* reporter, SkColorType ct, |
SkBitmap bm; |
bm.allocPixels(SkImageInfo::Make(1, 1, ct, kPremul_SkAlphaType)); |
bm.eraseColor(input); |
- SkDebugf("expected: %x actual: %x\n", expected, bm.getColor(0, 0)); |
+ if (reporter->verbose()) { |
+ SkDebugf("expected: %x actual: %x\n", expected, bm.getColor(0, 0)); |
+ } |
REPORTER_ASSERT(reporter, bm.getColor(0, 0) == expected); |
} |