projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
libmemcached: add MEMCACHED_BEHAVIOR_META_PROTOCOL
[awesomized/libmemcached]
/
test
/
lib
/
common.hpp
diff --git
a/test/lib/common.hpp
b/test/lib/common.hpp
index 083efe0d66f060eaa2f4dd2baa2e7de7efc6659a..3984560176fe989c81a764b58515c3149df59e32 100644
(file)
--- a/
test/lib/common.hpp
+++ b/
test/lib/common.hpp
@@
-45,12
+45,10
@@
using socket_or_port_t = variant<string, int>;
for (auto &[name, test] : tests) DYNAMIC_SECTION("test " << name)
#define REQUIRE_SUCCESS(rc) \
do { \
for (auto &[name, test] : tests) DYNAMIC_SECTION("test " << name)
#define REQUIRE_SUCCESS(rc) \
do { \
- INFO("expected: SUCCESS"); \
REQUIRE_THAT(rc, test.returns.success()); \
} while (0)
#define REQUIRE_RC(rc, call) \
do { \
REQUIRE_THAT(rc, test.returns.success()); \
} while (0)
#define REQUIRE_RC(rc, call) \
do { \
- INFO("expected: " << memcached_strerror(nullptr, rc)); \
REQUIRE_THAT(call, test.returns(rc)); \
} while (0)
REQUIRE_THAT(call, test.returns(rc)); \
} while (0)