mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/test/unit/autorunner.rb: make fox runners work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
abe7778a2b
commit
22b8cc47eb
2 changed files with 6 additions and 2 deletions
|
@ -25,7 +25,7 @@ module Test
|
|||
require 'test/unit/ui/gtk/testrunner'
|
||||
Test::Unit::UI::GTK::TestRunner.run(r.suite)
|
||||
end,
|
||||
:fox => proc do |suite|
|
||||
:fox => proc do |r|
|
||||
require 'test/unit/ui/fox/testrunner'
|
||||
Test::Unit::UI::Fox::TestRunner.run(r.suite)
|
||||
end,
|
||||
|
@ -80,7 +80,7 @@ module Test
|
|||
o.on('-r', '--runner=RUNNER', RUNNERS.keys,
|
||||
"Use the given RUNNER.",
|
||||
"(" + keyword_display(RUNNERS.keys) + ")") do |r|
|
||||
@runner = runners[r]
|
||||
@runner = RUNNERS[r]
|
||||
end
|
||||
|
||||
if(@standalone)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue