mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 21:35:35 +00:00
Remove redundant test_info
assignment
`test_fail` automatically sets `test_info.result`. This commit removes a case where `test_info.result` was being manually set after `test_fail` was called. Signed-off-by: Chris Jones <christopher.jones@arm.com>
This commit is contained in:
parent
94ca18733a
commit
1be34dafab
@ -182,7 +182,6 @@ void execute_function_ptr(TestWrapper_t fp, void **params)
|
|||||||
test_fail( location_record.failure_condition,
|
test_fail( location_record.failure_condition,
|
||||||
location_record.line,
|
location_record.line,
|
||||||
location_record.file );
|
location_record.file );
|
||||||
test_info.result = TEST_RESULT_FAILED;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mbedtls_test_param_failed_reset_state( );
|
mbedtls_test_param_failed_reset_state( );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user