add ability to skip 565 test in gm (until I can fix an assert in debug build)



git-svn-id: http://skia.googlecode.com/svn/trunk@5879 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index f0de5bd..3cac1e4 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -1045,6 +1045,11 @@
             {
                 continue;
             }
+            if ((gmFlags & GM::kSkip565_Flag) &&
+                (kRaster_Backend == config.fBackend) &&
+                (SkBitmap::kRGB_565_Config == config.fConfig)) {
+                continue;
+            }
 
             // Now we know that we want to run this test and record its
             // success or failure.