From 24e4cc7087bc29d55c89ba77654b68d22388f11d Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Sun, 12 Nov 2017 11:41:09 -0500 Subject: disable Android-specific SkTypeface test Seems like this is testing the Android SkFontMgr via SkTypeface. I would like to replace it with that test directly. Change-Id: Iea7a16a3afcda4f89f367f5da4090660329f95d1 Reviewed-on: https://skia-review.googlesource.com/70460 Reviewed-by: Mike Klein Commit-Queue: Mike Klein --- tests/TypefaceTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/TypefaceTest.cpp') diff --git a/tests/TypefaceTest.cpp b/tests/TypefaceTest.cpp index c8e96c5a7c..4ab8c5eec6 100644 --- a/tests/TypefaceTest.cpp +++ b/tests/TypefaceTest.cpp @@ -185,7 +185,8 @@ DEF_TEST(Typeface, reporter) { REPORTER_ASSERT(reporter, SkTypeface::Equal(t1.get(), nullptr)); REPORTER_ASSERT(reporter, SkTypeface::Equal(t2.get(), nullptr)); -#ifdef SK_BUILD_FOR_ANDROID + // Disabled temporarily. TODO(mtklein): test Android SkFontMgr directly? +#if 0 && defined(SK_BUILD_FOR_ANDROID) sk_sp t3(SkTypeface::MakeFromName("non-existent-font", SkFontStyle())); REPORTER_ASSERT(reporter, nullptr == t3); #endif -- cgit v1.2.3