Index: tests/CodexTest.cpp |
diff --git a/tests/CodexTest.cpp b/tests/CodexTest.cpp |
index 5210cf4bf45e29ff9ec6e30259b3444a8ee6bd1b..11d02cd96b414bd3c2f8076f9db64d22d8d4d2cb 100644 |
--- a/tests/CodexTest.cpp |
+++ b/tests/CodexTest.cpp |
@@ -452,7 +452,9 @@ DEF_TEST(Codec, r) { |
check(r, "yellow_rose.png", SkISize::Make(400, 301), true, false, false); |
// RAW |
+#if defined(SK_CODEC_DECODES_RAW) |
check(r, "sample_1mp.dng", SkISize::Make(600, 338), false, false, false); |
+#endif |
} |
// Test interlaced PNG in stripes, similar to DM's kStripe_Mode |