unit-tests: Allow default test timeout to be configured via compile option

Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
This commit is contained in:
Thomas Egerer
2017-02-14 10:41:42 +01:00
committed by Tobias Brunner
parent 3ff5de05b3
commit 8a0bbb9355
+2
View File
@@ -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