1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 18:24:27 +01:00

- now compat with Ruby 1.9.2

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@99 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
mvandervoord
2010-10-22 00:46:58 +00:00
parent a1ed0deceb
commit 4f2de8c87e
5 changed files with 17 additions and 14 deletions

View File

@@ -251,8 +251,10 @@ if ($0 == __FILE__)
#parse out all the options first
ARGV.reject! do |arg|
case(arg)
when '-cexception': options[:plugins] = [:cexception]; true
when /\w+\.yml/: options = UnityTestRunnerGenerator.grab_config(arg); true
when '-cexception'
options[:plugins] = [:cexception]; true
when /\w+\.yml/
options = UnityTestRunnerGenerator.grab_config(arg); true
else false
end
end