0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +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:
Brian Silverman 2015-07-28 13:37:16 -07:00
parent 7b2e37dc90
commit cb0491ca18

View File

@ -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__