mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 08:34:00 +00: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,10 +282,12 @@ 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__
|
||||||
// z/OS UNIX System Services: Ignore SIGPIPE during test runs, as a
|
// z/OS UNIX System Services: Ignore SIGPIPE during test runs, as a
|
||||||
// workaround for no SO_NOGSIGPIPE socket option.
|
// workaround for no SO_NOGSIGPIPE socket option.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user