Skip to content

Commit

Permalink
Some cleanup related to latest handling of unity utils.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandervoord committed Dec 7, 2023
1 parent 469d428 commit 9849578
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ceedling/test_invoker_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def compile_defines(context:, filepath:)
defines += @defineinator.defines( topkey:CEXCEPTION_SYM, subkey: :defines )

# Injected defines (based on other settings)
defines += @unity_utils.update_defines_if_args_enables
defines += @unity_utils.grab_additional_defines_based_on_configuration

return defines.uniq
end
Expand Down
2 changes: 1 addition & 1 deletion lib/ceedling/unity_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def create_test_runner_additional_args
# compile unity with enabled cmd line arguments
#
# @return [Array] - empty if cmdline_args is not set
def self.update_defines_if_args_enables()
def grab_additional_defines_based_on_configuration()
@configurator.project_config_hash[:test_runner_cmdline_args] ? ['UNITY_USE_COMMAND_LINE_ARGS'] : []
end

Expand Down

0 comments on commit 9849578

Please sign in to comment.