Skip to content

Commit

Permalink
🐛 Forgot to save a file in the commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed Jul 25, 2024
1 parent 72a49f4 commit d9f56d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/ceedling/test_invoker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def setup_and_invoke(tests:, context:TEST_SYM, options:{})
@batchinator.exec(workload: :compile, things: @testables) do |_, details|
filepath = details[:filepath]

if @configurator.project_use_test_preprocessor == :tests
if @configurator.project_use_test_preprocessor_tests
msg = @reportinator.generate_progress( "Parsing #{File.basename(filepath)} for build directive macros" )
@loginator.log( msg )

Expand Down Expand Up @@ -161,7 +161,7 @@ def setup_and_invoke(tests:, context:TEST_SYM, options:{})

@helper.extract_include_directives( arg_hash )
end
end if @configurator.project_use_test_preprocessor == :tests
end if @configurator.project_use_test_preprocessor_tests

# Determine Runners & Mocks For All Tests
@batchinator.build_step("Determining Files to be Generated", heading: false) do
Expand All @@ -176,7 +176,7 @@ def setup_and_invoke(tests:, context:TEST_SYM, options:{})
mocks[name.to_sym] = {
:name => name,
:source => source,
:input => ((@configurator.project_use_test_preprocessor == :mocks) ? preprocessed_input : source)
:input => (@configurator.project_use_test_preprocessor_mocks ? preprocessed_input : source)
}
end

Expand Down Expand Up @@ -221,7 +221,7 @@ def setup_and_invoke(tests:, context:TEST_SYM, options:{})

@preprocessinator.preprocess_mockable_header_file(**arg_hash)
end
} if @configurator.project_use_mocks and (@configurator.project_use_test_preprocessor == :mocks)
} if @configurator.project_use_mocks and @configurator.project_use_test_preprocessor_mocks

# Generate mocks for all tests
@batchinator.build_step("Mocking") {
Expand Down Expand Up @@ -258,7 +258,7 @@ def setup_and_invoke(tests:, context:TEST_SYM, options:{})
# Replace default input with preprocessed file
@lock.synchronize { details[:runner][:input_filepath] = filepath }
end
} if @configurator.project_use_test_preprocessor == :tests
} if @configurator.project_use_test_preprocessor_tests

# Collect test case names
@batchinator.build_step("Collecting Test Context") {
Expand All @@ -273,7 +273,7 @@ def setup_and_invoke(tests:, context:TEST_SYM, options:{})

@context_extractor.collect_test_runner_details( details[:filepath], details[:runner][:input_filepath] )
end
} if @configurator.project_use_test_preprocessor == :tests
} if @configurator.project_use_test_preprocessor_tests

# Build runners for all tests
@batchinator.build_step("Test Runners") do
Expand Down

0 comments on commit d9f56d5

Please sign in to comment.