mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
testhelp.h now exits with retcode 1 on failed tests.
This commit is contained in:
parent
dd5fbedf7b
commit
a54806ac6a
@ -48,6 +48,7 @@ int __test_num = 0;
|
|||||||
__test_num-__failed_tests, __failed_tests); \
|
__test_num-__failed_tests, __failed_tests); \
|
||||||
if (__failed_tests) { \
|
if (__failed_tests) { \
|
||||||
printf("=== WARNING === We have failed tests here...\n"); \
|
printf("=== WARNING === We have failed tests here...\n"); \
|
||||||
|
exit(1); \
|
||||||
} \
|
} \
|
||||||
} while(0);
|
} while(0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user