aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tests/CodexTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/CodexTest.cpp b/tests/CodexTest.cpp
index 5210cf4bf4..11d02cd96b 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