Update build files.
[awesomized/libmemcached] / libtest / test.c
index afb2b96522ce4c1f582e4fa6771c5c2bb2735c31..d54dc92b9836347a533685a942ba74bb7324b5b3 100644 (file)
@@ -178,10 +178,21 @@ int main(int argc, char *argv[])
   }
 
   if (argc > 1)
+  {
     collection_to_run= argv[1];
+  }
+  else if (getenv("TEST_COLLECTION"))
+  {
+    collection_to_run= getenv("TEST_COLLECTION");
+  }
+
+  if (collection_to_run)
+    printf("Only testing %s\n", collection_to_run);
 
   if (argc == 3)
+  {
     wildcard= argv[2];
+  }
 
   for (next= collection; next->name; next++)
   {