From a54806ac6af77940070a90a44b603bec46cfe599 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 2 Nov 2011 16:52:10 +0100 Subject: [PATCH] testhelp.h now exits with retcode 1 on failed tests. --- src/testhelp.h | 1 + 1 file changed, 1 insertion(+) 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); -- GitLab