Add TEST_ASSUME macro to allow skipping tests at runtime
This commit adds a macro TEST_ASSUME to the test infrastructure which allows to skip tests based on unmet conditions determined at runtime.
This commit is contained in:
parent
7f132cc1a3
commit
d3369f6d01
3 changed files with 43 additions and 7 deletions
|
@ -156,7 +156,7 @@ void execute_function_ptr(TestWrapper_t fp, void **params)
|
|||
else
|
||||
{
|
||||
/* Unexpected parameter validation error */
|
||||
test_info.failed = 1;
|
||||
test_info.result = TEST_RESULT_FAILED;
|
||||
}
|
||||
|
||||
memset( param_fail_jmp, 0, sizeof(jmp_buf) );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue