unit-tests: Allow default test timeout to be configured via compile option
Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
committed by
Tobias Brunner
parent
3ff5de05b3
commit
8a0bbb9355
@@ -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