From ae9f2a2accee345b52f24903be0e53ae3445b1e1 Mon Sep 17 00:00:00 2001 From: Ron Eldor Date: Wed, 25 Sep 2019 15:04:21 +0300 Subject: [PATCH] Fix compilation error Change test_info.failed to test_info.result, as it was previously changed. --- tests/suites/target_test.function | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/suites/target_test.function b/tests/suites/target_test.function index efee8793a..89835d2bf 100644 --- a/tests/suites/target_test.function +++ b/tests/suites/target_test.function @@ -375,7 +375,7 @@ int execute_tests( int args, const char ** argv ) while ( 1 ) { ret = 0; - test_info.failed = 0; + test_info.result = TEST_RESULT_SUCCESS; data_len = 0; data = receive_data( &data_len ); @@ -433,7 +433,7 @@ int execute_tests( int args, const char ** argv ) if ( ret ) send_failure( ret ); else - send_status( test_info.failed ); + send_status( test_info.result ); } return( 0 ); }