Temporary change to bench on android to run limited set of test in order to see wheth...
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 14 Aug 2012 20:44:17 +0000 (20:44 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 14 Aug 2012 20:44:17 +0000 (20:44 +0000)
Review URL: http://codereview.appspot.com/6459087

git-svn-id: http://skia.googlecode.com/svn/trunk@5100 2bbb7eff-a529-9590-31e7-b0007b416f81

bench/benchmain.cpp

index a91d348..d957f4d 100644 (file)
@@ -741,6 +741,15 @@ int main (int argc, char * const argv[]) {
     while ((bench = iter.next()) != NULL) {
         SkAutoTUnref<SkBenchmark> benchUnref(bench);
 
+#ifdef SK_BUILD_FOR_ANDROID
+        const char* name = bench->getName();
+        if (strstr(name, "path_") != name ||
+            strstr(name, "path_stroke") == name ||
+            strstr(name, "path_fill") == name ) {
+            continue;
+        }
+#endif
+
         SkIPoint dim = bench->getSize();
         if (dim.fX <= 0 || dim.fY <= 0) {
             continue;