* fix to test runner generator

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@12 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
mvandervoord
2008-12-12 17:28:05 +00:00
parent feec71bda8
commit be1c104dc0

View File

@ -172,6 +172,8 @@ if ($0 == __FILE__)
ARGV[1] = ARGV[0].gsub(".c","_sRunner.c") if (!ARGV[1])
UnityTestRunnerGenerator.new
UnityTestRunnerGenerator.run(ARGV[0], ARGV[1])
includes = []
includes = ARGV.slice(2..-1) if (ARGV.size > 2)
UnityTestRunnerGenerator.new.run(ARGV[0], ARGV[1], includes)
end