Skip to content

Commit

Permalink
Code formatting cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed Jan 4, 2024
1 parent fce593e commit a911bf8
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions plugins/gcov/lib/gcov.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a911bf8

Please sign in to comment.