Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
Make 'defines' messages report using standard mechanism.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandervoord committed Dec 3, 2019
1 parent 9270c39 commit 81cc3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ceedling/test_invoker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def setup_and_invoke(tests, context=TEST_SYM, options={:force_run => true, :buil

# redefine the project out path and preprocessor defines
if @configurator.project_config_hash.has_key?(def_test_key.to_sym)
printf " ************** Specific test definitions for #{test_name} !!! \n"
@streaminator.stdout_puts("Updating test definitions for #{test_name}", Verbosity::NORMAL)
orig_path = @configurator.project_test_build_output_path
@configurator.project_config_hash[:project_test_build_output_path] = File.join(@configurator.project_test_build_output_path, test_name)
@file_wrapper.mkdir(@configurator.project_test_build_output_path)
Expand Down Expand Up @@ -123,7 +123,7 @@ def setup_and_invoke(tests, context=TEST_SYM, options={:force_run => true, :buil
COLLECTION_DEFINES_TEST_AND_VENDOR.replace(defs_bkp)
if @configurator.project_config_hash.has_key?(def_test_key.to_sym)
@configurator.project_config_hash[:project_test_build_output_path] = orig_path
printf " ************** Restored defines and build path\n"
@streaminator.stdout_puts("Restored defines and build path to standard", Verbosity::NORMAL)
end
end
end
Expand Down

0 comments on commit 81cc3e0

Please sign in to comment.