projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd5fbed
)
testhelp.h now exits with retcode 1 on failed tests.
author
antirez
<antirez@gmail.com>
Wed, 2 Nov 2011 15:52:10 +0000
(16:52 +0100)
committer
antirez
<antirez@gmail.com>
Wed, 2 Nov 2011 15:52:10 +0000
(16:52 +0100)
src/testhelp.h
patch
|
blob
|
blame
|
history
diff --git
a/src/testhelp.h
b/src/testhelp.h
index d699f2ae4ecc83ada0dcea5f3fb0ab005da3f611..807a86e94af6bc43352fec7d64750e536e343d38 100644
(file)
--- a/
src/testhelp.h
+++ b/
src/testhelp.h
@@
-48,6
+48,7
@@
int __test_num = 0;
__test_num-__failed_tests, __failed_tests); \
if (__failed_tests) { \
printf("=== WARNING === We have failed tests here...\n"); \
+ exit(1); \
} \
} while(0);