projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Cleanup tests to be more independent of distribution type.
[m6w6/libmemcached]
/
tests
/
atomsmasher.cc
diff --git
a/tests/atomsmasher.cc
b/tests/atomsmasher.cc
index 6949bcd6f2c184d0c37966ad8ec5459525f74f79..981819d20c0c75ea03b6fafde11cd20b97e5ad26 100644
(file)
--- a/
tests/atomsmasher.cc
+++ b/
tests/atomsmasher.cc
@@
-17,7
+17,6
@@
#include <libtest/test.hpp>
#include <libmemcached/memcached.h>
#include <libtest/test.hpp>
#include <libmemcached/memcached.h>
-#include <libmemcached/watchpoint.h>
#include <cstdio>
#include <cstdlib>
#include <cstdio>
#include <cstdlib>
@@
-99,8
+98,7
@@
infinite:
}
else
{
}
else
{
- WATCHPOINT_ERROR(rc);
- WATCHPOINT_ASSERT(rc);
+ test_compare(MEMCACHED_SUCCESS, rc);
}
}
else
}
}
else
@@
-112,8
+110,7
@@
infinite:
0, 0);
if (rc != MEMCACHED_SUCCESS && rc != MEMCACHED_BUFFERED)
{
0, 0);
if (rc != MEMCACHED_SUCCESS && rc != MEMCACHED_BUFFERED)
{
- WATCHPOINT_ERROR(rc);
- WATCHPOINT_ASSERT(0);
+ test_compare(MEMCACHED_SUCCESS, rc);
}
}
}
}
}
}
@@
-282,7
+279,6
@@
collection_st collection[] ={
#define TEST_PORT_BASE MEMCACHED_DEFAULT_PORT +10
#define TEST_PORT_BASE MEMCACHED_DEFAULT_PORT +10
-#define SERVERS_TO_CREATE 5
#include "libmemcached_world.h"
#include "libmemcached_world.h"