From: antirez Date: Wed, 2 Nov 2011 15:52:10 +0000 (+0100) Subject: testhelp.h now exits with retcode 1 on failed tests. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/a54806ac6af77940070a90a44b603bec46cfe599 testhelp.h now exits with retcode 1 on failed tests. --- diff --git a/src/testhelp.h b/src/testhelp.h index d699f2ae..807a86e9 100644 --- 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);