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:
1 parent
3ff5de05b3
commit
8a0bbb9355
1 file changed
+2
@@ -39,7 +39,9 @@ typedef struct test_fixture_t test_fixture_t;
|
|||||||
/**
|
/**
|
||||||
* Default timeout for a single test function
|
* Default timeout for a single test function
|
||||||
*/
|
*/
|
||||||
|
#ifndef TEST_FUNCTION_DEFAULT_TIMEOUT
|
||||||
#define TEST_FUNCTION_DEFAULT_TIMEOUT 2
|
#define TEST_FUNCTION_DEFAULT_TIMEOUT 2
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test function implementation
|
* Test function implementation
|
||||||
|
|||||||
Reference in new issue
Block a user