Index: tests/CodexTest.cpp |
diff --git a/tests/CodexTest.cpp b/tests/CodexTest.cpp |
index 11d02cd96b414bd3c2f8076f9db64d22d8d4d2cb..b6b5d8276d536d48bc9d5f8ea3a47334ffc73d62 100644 |
--- a/tests/CodexTest.cpp |
+++ b/tests/CodexTest.cpp |
@@ -649,7 +649,9 @@ DEF_TEST(Codec_Dimensions, r) { |
test_dimensions(r, "mandrill_16.png"); |
// RAW |
+#if defined(SK_CODEC_DECODES_RAW) |
test_dimensions(r, "sample_1mp.dng"); |
+#endif |
} |
static void test_invalid(skiatest::Reporter* r, const char path[]) { |