Add none support for testing.
authorBrian Aker <brian@tangent.org>
Sun, 8 Apr 2012 01:25:19 +0000 (18:25 -0700)
committerBrian Aker <brian@tangent.org>
Sun, 8 Apr 2012 01:25:19 +0000 (18:25 -0700)
libtest/test.cc

index 25c97c94434073d2a23691fd072f081b1d95e417..ef10028c5800160dabb687448ec433b0bc0ba321 100644 (file)
@@ -237,6 +237,11 @@ int main(int argc, char *argv[])
         }
       }
 
+      if (collection_to_run.compare("none") == 0)
+      {
+        return EXIT_SUCCESS;
+      }
+
       if (collection_to_run.empty() == false)
       {
         Out << "Only testing " <<  collection_to_run;