From: Thomas Egerer Date: Fri, 10 Feb 2017 14:27:11 +0000 (+0100) Subject: unit-tests: Allow default test timeout to be configured via compile option X-Git-Tag: 5.5.2dr5~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a0bbb9355faeb287d08707233427cf47baef4ff;p=thirdparty%2Fstrongswan.git unit-tests: Allow default test timeout to be configured via compile option Signed-off-by: Thomas Egerer --- diff --git a/src/libstrongswan/tests/test_suite.h b/src/libstrongswan/tests/test_suite.h index aedd8c0117..66c68465a1 100644 --- a/src/libstrongswan/tests/test_suite.h +++ b/src/libstrongswan/tests/test_suite.h @@ -39,7 +39,9 @@ typedef struct test_fixture_t test_fixture_t; /** * Default timeout for a single test function */ +#ifndef TEST_FUNCTION_DEFAULT_TIMEOUT #define TEST_FUNCTION_DEFAULT_TIMEOUT 2 +#endif /** * Test function implementation