Work around broken SkFontMgr_fontconfig.cpp for test.


git-svn-id: http://skia.googlecode.com/svn/trunk@10593 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/FontNamesTest.cpp b/tests/FontNamesTest.cpp
index 18ba356..ee0a116 100644
--- a/tests/FontNamesTest.cpp
+++ b/tests/FontNamesTest.cpp
@@ -153,6 +153,10 @@
             set->getStyle(j, &fs, &sname);
 
             SkAutoTUnref<SkTypeface> typeface(set->createTypeface(j));
+            if (NULL == typeface.get()) {
+                //TODO: SkFontMgr_fontconfig always returns NULL?
+                continue;
+            }
 
             SkString familyName;
             typeface->getFamilyName(&familyName);