aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PDFPrimitivesTest.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-08-03 14:17:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-03 14:17:53 -0700
commit18e0cbc52a7a145cd6d915759ef9d611808960aa (patch)
tree2778f79281030e10e511bdffc6a0e0f29f4f92e4 /tests/PDFPrimitivesTest.cpp
parentffae30db4ade45b469ac3432ec373b6f6daee6e7 (diff)
SkPDF: fewer GYP_DEFINES
also: hack a unit test BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2208743003 Review-Url: https://codereview.chromium.org/2208743003
Diffstat (limited to 'tests/PDFPrimitivesTest.cpp')
-rw-r--r--tests/PDFPrimitivesTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp
index 6d89dd1585..554f1ee720 100644
--- a/tests/PDFPrimitivesTest.cpp
+++ b/tests/PDFPrimitivesTest.cpp
@@ -114,10 +114,12 @@ static void TestPDFStream(skiatest::Reporter* reporter) {
expected.writeText("\nendstream");
sk_sp<SkData> expectedResultData2(expected.copyToData());
SkString result = emit_to_string(*stream);
+ #ifndef SK_PDF_LESS_COMPRESSION
assert_eql(reporter,
result,
(const char*)expectedResultData2->data(),
expectedResultData2->size());
+ #endif
}
}