From cb01ae02e46f1304d3647765b84809cae0bc1df5 Mon Sep 17 00:00:00 2001 From: mvandervoord Date: Sat, 19 Oct 2024 18:27:34 -0400 Subject: [PATCH] - remove orphaned function. - at gcov options to project.yml files --- assets/project_as_gem.yml | 2 ++ assets/project_with_guts.yml | 2 ++ lib/ceedling/test_invoker_helper.rb | 23 ----------------------- 3 files changed, 4 insertions(+), 23 deletions(-) diff --git a/assets/project_as_gem.yml b/assets/project_as_gem.yml index 22d60584..98b4d47c 100644 --- a/assets/project_as_gem.yml +++ b/assets/project_as_gem.yml @@ -232,6 +232,8 @@ # You will need to have gcov and gcovr both installed to make it work. # For more information on these options, see docs in plugins/gcov :gcov: + :summaries: TRUE # Enable simple coverage summaries to console after tests + :report_task: FALSE # Disabled dedicated report generation task (this enables automatic report generation) :utilities: - gcovr # Use gcovr to create the specified reports (default). #- ReportGenerator # Use ReportGenerator to create the specified reports. diff --git a/assets/project_with_guts.yml b/assets/project_with_guts.yml index 931d9b0a..19309b8f 100644 --- a/assets/project_with_guts.yml +++ b/assets/project_with_guts.yml @@ -232,6 +232,8 @@ # You will need to have gcov and gcovr both installed to make it work. # For more information on these options, see docs in plugins/gcov :gcov: + :summaries: TRUE # Enable simple coverage summaries to console after tests + :report_task: FALSE # Disabled dedicated report generation task (this enables automatic report generation) :utilities: - gcovr # Use gcovr to create the specified reports (default). #- ReportGenerator # Use ReportGenerator to create the specified reports. diff --git a/lib/ceedling/test_invoker_helper.rb b/lib/ceedling/test_invoker_helper.rb index 498a89d2..928ec074 100644 --- a/lib/ceedling/test_invoker_helper.rb +++ b/lib/ceedling/test_invoker_helper.rb @@ -254,29 +254,6 @@ def clean_test_results(path, tests) end end - def generate_objects_now(object_list, context, options) - @batchinator.exec(workload: :compile, things: object_list) do |object| - src = @file_finder.find_build_input_file(filepath: object, context: TEST_SYM) - if (File.basename(src) =~ /#{EXTENSION_SOURCE}$/) - @generator.generate_object_file( - options[:test_compiler], - OPERATION_COMPILE_SYM, - context, - src, - object, - @file_path_utils.form_test_build_list_filepath( object ), - @file_path_utils.form_test_dependencies_filepath( object )) - elsif (defined?(TEST_BUILD_USE_ASSEMBLY) && TEST_BUILD_USE_ASSEMBLY) - @generator.generate_object_file( - options[:test_assembler], - OPERATION_ASSEMBLE_SYM, - context, - src, - object ) - end - end - end - # Convert libraries configuration form YAML configuration # into a string that can be given to the compiler. def convert_libraries_to_arguments()