aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CodexTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CodexTest.cpp')
-rw-r--r--tests/CodexTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/CodexTest.cpp b/tests/CodexTest.cpp
index 11d02cd96b..b6b5d8276d 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[]) {