diff options
author | antirez <antirez@gmail.com> | 2011-11-02 16:52:10 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-11-02 16:52:10 +0100 |
commit | a54806ac6af77940070a90a44b603bec46cfe599 (patch) | |
tree | 70f5bc282204d84d962ac4a970165b6a369c1a19 | |
parent | dd5fbedf7bb9ac02d14aa9ecaeafb47e48b9a587 (diff) | |
download | redis-a54806ac6af77940070a90a44b603bec46cfe599.tar.gz |
testhelp.h now exits with retcode 1 on failed tests.
-rw-r--r-- | src/testhelp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testhelp.h b/src/testhelp.h index d699f2ae4..807a86e94 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); |