From cb0491ca1870eeea78ca7442a29e58233c8cf6ea Mon Sep 17 00:00:00 2001 From: Brian Silverman Date: Tue, 28 Jul 2015 13:37:16 -0700 Subject: [PATCH] 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. --- tests/testutil.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testutil.hpp b/tests/testutil.hpp index e66d4706..f334e89c 100644 --- a/tests/testutil.hpp +++ b/tests/testutil.hpp @@ -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__