Commit cb0491ca authored by Brian Silverman's avatar Brian Silverman

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.
parent 7b2e37dc
...@@ -282,8 +282,10 @@ void setup_test_environment() ...@@ -282,8 +282,10 @@ void setup_test_environment()
// abort test after 121 seconds // abort test after 121 seconds
alarm(121); alarm(121);
#else #else
# if !defined ZMQ_DISABLE_TEST_TIMEOUT
// abort test after 60 seconds // abort test after 60 seconds
alarm(60); alarm(60);
# endif
#endif #endif
#endif #endif
#if defined __MVS__ #if defined __MVS__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment