diff options
author | Thomas Egerer <thomas.egerer@secunet.com> | 2017-02-10 15:27:11 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-02-14 10:41:42 +0100 |
commit | 8a0bbb9355faeb287d08707233427cf47baef4ff (patch) | |
tree | fa8cf40c1fdff30393fe22fc4837d8ebc7a1cad5 /src/libstrongswan | |
parent | 3ff5de05b3f7184f3c381fb9f44c15bf029fe997 (diff) | |
download | strongswan-8a0bbb9355faeb287d08707233427cf47baef4ff.tar.bz2 strongswan-8a0bbb9355faeb287d08707233427cf47baef4ff.tar.xz |
unit-tests: Allow default test timeout to be configured via compile option
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
Diffstat (limited to 'src/libstrongswan')
-rw-r--r-- | src/libstrongswan/tests/test_suite.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/tests/test_suite.h b/src/libstrongswan/tests/test_suite.h index aedd8c011..66c68465a 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 |