mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +08:00
Add a way to disable libzmq's internal test timeout.
It's nice to be able to disable libzmq's internal timeout when there's another timeout in the test runner being used which gives nicer error messages.
This commit is contained in:
parent
7b2e37dc90
commit
cb0491ca18
@ -282,8 +282,10 @@ void setup_test_environment()
|
||||
// abort test after 121 seconds
|
||||
alarm(121);
|
||||
#else
|
||||
# if !defined ZMQ_DISABLE_TEST_TIMEOUT
|
||||
// abort test after 60 seconds
|
||||
alarm(60);
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
#if defined __MVS__
|
||||
|
Loading…
x
Reference in New Issue
Block a user