projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Extend test.
[m6w6/libmemcached]
/
libtest
/
error.h
diff --git
a/libtest/error.h
b/libtest/error.h
index c4a3a70247733c9de07c2005f021a002aa4de348..a40868b3c1ba41cc8d0c1dd5ccf250aeb4a803ac 100644
(file)
--- a/
libtest/error.h
+++ b/
libtest/error.h
@@
-16,3
+16,4
@@
enum test_return_t {
#define test_failed(__test_return_t) ((__test_return_t) != TEST_SUCCESS)
+#define test_success(__test_return_t) ((__test_return_t) == TEST_SUCCESS)