From: Brian Aker Date: Sun, 8 Apr 2012 01:25:19 +0000 (-0700) Subject: Add none support for testing. X-Git-Tag: 1.0.6~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=691ebaa8bb101f70caa9e9df8fd870e2b8577a60;p=awesomized%2Flibmemcached Add none support for testing. --- diff --git a/libtest/test.cc b/libtest/test.cc index 25c97c94..ef10028c 100644 --- a/libtest/test.cc +++ b/libtest/test.cc @@ -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;