Skip to content

Commit

Permalink
Allow Ceedling to drive the mock and test prefixes into the module ge…
Browse files Browse the repository at this point in the history
…nerator script
  • Loading branch information
mvandervoord committed Nov 21, 2016
1 parent 7d6b3ac commit fe5c646
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions plugins/module_generator/lib/module_generator.rb
Expand Up @@ -26,6 +26,8 @@ def divine_options(optz={})
:path_inc => MODULE_GENERATOR_SOURCE_ROOT.gsub('\\', '/').sub(/^\//, '').sub(/\/$/, ''),
:path_tst => MODULE_GENERATOR_TEST_ROOT.gsub('\\', '/').sub(/^\//, '').sub(/\/$/, ''),
:pattern => optz[:pattern],
:test_prefix => PROJECT_TEST_FILE_PREFIX,
:mock_prefix => CMOCK_MOCK_PREFIX,
}
end

Expand Down
2 changes: 1 addition & 1 deletion vendor/unity

0 comments on commit fe5c646

Please sign in to comment.