Hash :
93a76aa2
Author :
Date :
2024-05-05T20:20:27
test: add proper message in case of test failure
Right now it is impossible to understand what had been failed, but
after:
$ regress thread/conditions_simple
thread/conditions_simple: [forking]
FAIL /src/le/libevent/test/regress_thread.c:385: assert(n_signal == 0): 1 vs 0
[RETRYING thread/conditions_simple (attempts left 2, delay 1 sec)]
thread/conditions_simple: [forking]
FAIL /src/le/libevent/test/regress_thread.c:385: assert(n_signal == 0): 1 vs 0
[RETRYING thread/conditions_simple (attempts left 1, delay 1 sec)]
thread/conditions_simple: [forking]
FAIL /src/le/libevent/test/regress_thread.c:385: assert(n_signal == 0): 1 vs 0
[RETRYING thread/conditions_simple (attempts left 0, delay 1 sec)]
thread/conditions_simple: [forking]
FAIL /src/le/libevent/test/regress_thread.c:385: assert(n_signal == 0): 1 vs 0
[conditions_simple FAILED]
[FAILED thread/conditions_simple (attempts made -1)]
1/1 TESTS FAILED. (0 skipped)