aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/CodexTest.cpp
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-01-25 13:10:58 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-25 13:10:58 -0800
commit8e49ca33b0c5847fb168cefb571dd2503b683d90 (patch)
tree879acae63fe72e3a9481e3ae8df80ac5c245f5d4 /tests/CodexTest.cpp
parent8d61f0dd1b6fde5202a14dfafcc1bceccf0d74ad (diff)
Disable RAW test when SkRawCodec is not compiled
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[]) {