- 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:
mvandervoord
2010-11-26 19:37:22 +00:00
parent f2ce354f99
commit 780c17d017
6 changed files with 125 additions and 11 deletions

View File

@ -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'])