mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-10-13 12:27:26 +00:00
automatically pull in unity helper into tests when specified in both example and cmock's includes.
This commit is contained in:
@@ -64,6 +64,7 @@ class CMockConfig
|
||||
end
|
||||
options[:unity_helper_path] ||= options[:unity_helper]
|
||||
options[:unity_helper_path] = [options[:unity_helper_path]] if options[:unity_helper_path].is_a? String
|
||||
options[:includes_c_post_header] = ((options[:includes_c_post_header] || []) + (options[:unity_gelper_path] || [])).uniq
|
||||
options[:plugins].compact!
|
||||
options[:plugins].map! {|p| p.to_sym}
|
||||
@options = options
|
||||
|
||||
Reference in New Issue
Block a user