class TestInvokerHelper

Public Instance Methods

clean_results(results, options) click to toggle source
# File lib/ceedling/test_invoker_helper.rb, line 6
def clean_results(results, options)
  @file_wrapper.rm_f( results[:fail] )
  @file_wrapper.rm_f( results[:pass] ) if (options[:force_run])
end
extract_sources(test) click to toggle source
# File lib/ceedling/test_invoker_helper.rb, line 23
def extract_sources(test)
  sources  = []
  includes = @test_includes_extractor.lookup_includes_list(test)
  
  includes.each { |include| sources << @file_finder.find_compilation_input_file(include, :ignore) }
  
  return sources.compact
end
process_deep_dependencies(files) { |dependencies_list| ... } click to toggle source
# File lib/ceedling/test_invoker_helper.rb, line 11
def process_deep_dependencies(files)
  return if (not @configurator.project_use_deep_dependencies)

  dependencies_list = @file_path_utils.form_test_dependencies_filelist( files ).uniq

  if @configurator.project_generate_deep_dependencies
    @task_invoker.invoke_test_dependencies_files( dependencies_list )
  end

  yield( dependencies_list ) if block_given?
end