add new test for complex clips
temp disable picture testing until I fix the bug w/ expanding clips
git-svn-id: http://skia.googlecode.com/svn/trunk@2184 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 6f7f67b..4ac53e1 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -435,6 +435,10 @@
const SkBitmap& comparisonBitmap,
const char readPath [],
const char diffPath []) {
+ if (!gm->validForPicture()) {
+ return true;
+ }
+
SkPicture* pict = generate_new_picture(gm);
SkAutoUnref aur(pict);