add extended option to Test

The command line option
--extended runs extended tests
--verbose reports number of tests run (if recorded)

Added simple help as well.
Review URL: https://codereview.chromium.org/14063005

git-svn-id: http://skia.googlecode.com/svn/trunk@8595 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/Test.h b/tests/Test.h
index ca2acc6..f90edab 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -31,6 +31,7 @@
         };
 
         void resetReporting();
+        void bumpTestCount() { ++fTestCount; }
         int countTests() const { return fTestCount; }
         int countResults(Result r) {
             SkASSERT((unsigned)r <= kLastResult);
@@ -40,6 +41,7 @@
         void startTest(Test*);
         void report(const char testDesc[], Result);
         void endTest(Test*);
+        virtual bool allowExtendedTest() const { return false; }
 
         // helpers for tests
         void assertTrue(bool cond, const char desc[]) {