mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-23 16:19:07 +08:00
- updated unity test runner generator to support parameterized tests optionally.
- updated docs to better discuss generator options. git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@104 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
@ -204,7 +204,9 @@ module RakefileHelpers
|
||||
runner_path = $cfg['compiler']['runner_path'] + runner_name
|
||||
end
|
||||
|
||||
UnityTestRunnerGenerator.new($cfg_file).run(test, runner_path)
|
||||
options = $cfg[:unity]
|
||||
options[:use_param_tests] = (test =~ /parameterized/) ? true : false
|
||||
UnityTestRunnerGenerator.new(options).run(test, runner_path)
|
||||
|
||||
compile(runner_path, test_defines)
|
||||
obj_list << runner_name.ext($cfg['compiler']['object_files']['extension'])
|
||||
|
Reference in New Issue
Block a user