1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

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:
Hanno Becker
2019-07-05 13:31:30 +01:00
parent 66b7edb108
commit e69d0150d7
3 changed files with 43 additions and 7 deletions

View File

@@ -159,7 +159,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) );