tests: add --veryVerbose / -V
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 28 Jan 2014 21:15:42 +0000 (21:15 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 28 Jan 2014 21:15:42 +0000 (21:15 +0000)
BUG=skia:
R=caryclark@google.com

Author: mtklein@google.com

Review URL: https://codereview.chromium.org/135723013

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

tests/skia_test.cpp

index fd7f3a3..f9e4097 100644 (file)
@@ -34,7 +34,8 @@ DEFINE_string2(resourcePath, i, "resources", "directory for test resources.");
 DEFINE_bool2(extendedTest, x, false, "run extended tests for pathOps.");
 DEFINE_bool2(leaks, l, false, "show leaked ref cnt'd objects.");
 DEFINE_bool2(single, z, false, "run tests on a single thread internally.");
-DEFINE_bool2(verbose, v, false, "enable verbose output.");
+DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver.");
+DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose.");
 DEFINE_int32(threads, SkThreadPool::kThreadPerCore,
              "Run threadsafe tests on a threadpool with this many threads.");
 
@@ -67,7 +68,7 @@ public:
 
     virtual bool allowExtendedTest() const SK_OVERRIDE { return FLAGS_extendedTest; }
     virtual bool allowThreaded()     const SK_OVERRIDE { return !FLAGS_single; }
-    virtual bool verbose()           const SK_OVERRIDE { return FLAGS_verbose; }
+    virtual bool verbose()           const SK_OVERRIDE { return FLAGS_veryVerbose; }
 
 protected:
     virtual void onReportFailed(const SkString& desc) SK_OVERRIDE {