mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-06 13:08:41 +08:00
* 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:
@ -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
|
||||
|
Reference in New Issue
Block a user