projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Update build files.
[awesomized/libmemcached]
/
libtest
/
test.c
diff --git
a/libtest/test.c
b/libtest/test.c
index 9a79e4c5b4da94cc00903273b08f55bd21590a31..d54dc92b9836347a533685a942ba74bb7324b5b3 100644
(file)
--- a/
libtest/test.c
+++ b/
libtest/test.c
@@
-24,8
+24,6
@@
#include <time.h>
#include <stdint.h>
#include <time.h>
#include <stdint.h>
-#include <libmemcached/memcached.h>
-
#include <libtest/test.h>
#include <libtest/failed.h>
#include <libtest/test.h>
#include <libtest/failed.h>
@@
-180,10
+178,21
@@
int main(int argc, char *argv[])
}
if (argc > 1)
}
if (argc > 1)
+ {
collection_to_run= argv[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)
if (argc == 3)
+ {
wildcard= argv[2];
wildcard= argv[2];
+ }
for (next= collection; next->name; next++)
{
for (next= collection; next->name; next++)
{
@@
-370,9
+379,5
@@
cleanup:
world_stats_print(&stats);
world_stats_print(&stats);
-#ifdef LIBMEMCACHED_WITH_SASL_SUPPORT
- sasl_done();
-#endif
-
return stats.failed == 0 ? 0 : 1;
}
return stats.failed == 0 ? 0 : 1;
}