From a911bf8653579f6f8d16637cb4fcd1d566523a83 Mon Sep 17 00:00:00 2001 From: Mike Karlesky Date: Thu, 4 Jan 2024 16:08:33 -0500 Subject: [PATCH] Code formatting cleanup --- plugins/gcov/lib/gcov.rb | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/plugins/gcov/lib/gcov.rb b/plugins/gcov/lib/gcov.rb index 7198b3fe..582cc5a1 100755 --- a/plugins/gcov/lib/gcov.rb +++ b/plugins/gcov/lib/gcov.rb @@ -80,12 +80,20 @@ def post_build end def summary - result_list = @ceedling[:file_path_utils].form_pass_results_filelist(GCOV_RESULTS_PATH, COLLECTION_ALL_TESTS) + # Build up the list of passing results from all tests + result_list = @ceedling[:file_path_utils].form_pass_results_filelist( + GCOV_RESULTS_PATH, + COLLECTION_ALL_TESTS + ) - # Get test results for only those tests in our configuration and for those only tests with results on disk hash = { header: GCOV_ROOT_NAME.upcase, - results: @ceedling[:plugin_reportinator].assemble_test_results(result_list, boom: false) + # Collect all existing test results (success or failing) in the filesystem, + # limited to our test collection + :results => @ceedling[:plugin_reportinator].assemble_test_results( + result_list, + {:boom => false} + ) } @ceedling[:plugin_reportinator].run_test_results_report(hash)