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:
Chris Jones 2021-01-18 17:56:40 +00:00
parent 94ca18733a
commit 1be34dafab

View file

@ -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( );