mirror of
https://github.com/zeromq/libzmq.git
synced 2025-07-04 01:27:14 +02:00
Problem: ZMQ_DISABLE_TEST_TIMEOUT does not work anymore
Solution: restore it so that it can be set via CPPFLAGS, to avoid tests timing out when running in GDB
This commit is contained in:
parent
397ac80850
commit
98efa79f54
@ -233,10 +233,12 @@ void setup_test_environment (int timeout_seconds_)
|
|||||||
// 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 timeout_seconds_ seconds
|
// abort test after timeout_seconds_ seconds
|
||||||
alarm (timeout_seconds_);
|
alarm (timeout_seconds_);
|
||||||
#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