From 1be34dafab0d74d578a60c54b39699695c7ef643 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 18 Jan 2021 17:56:40 +0000 Subject: [PATCH] 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 --- tests/suites/main_test.function | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/suites/main_test.function b/tests/suites/main_test.function index 98dab3ebbd..97026c68bd 100644 --- a/tests/suites/main_test.function +++ b/tests/suites/main_test.function @@ -182,7 +182,6 @@ void execute_function_ptr(TestWrapper_t fp, void **params) test_fail( location_record.failure_condition, location_record.line, location_record.file ); - test_info.result = TEST_RESULT_FAILED; } mbedtls_test_param_failed_reset_state( );