]> git.saurik.com Git - redis.git/blobdiff - src/testhelp.h
A reimplementation of blocking operation internals.
[redis.git] / src / testhelp.h
index d699f2ae4ecc83ada0dcea5f3fb0ab005da3f611..807a86e94af6bc43352fec7d64750e536e343d38 100644 (file)
@@ -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"); \
                     __test_num-__failed_tests, __failed_tests); \
     if (__failed_tests) { \
         printf("=== WARNING === We have failed tests here...\n"); \
+        exit(1); \
     } \
 } while(0);
 
     } \
 } while(0);