* lib/test/unit.rb: Fix --ruby option doesn't effect.

* lib/test/unit.rb: Fix typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
sorah 2011-02-22 14:16:38 +00:00
parent b7af3f6f0c
commit 8f1430d08b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Feb 22 23:15:17 2011 Shota Fukumori (sora_h) <sorah@tubusu.net>
* lib/test/unit.rb: Fix --ruby option doesn't effect.
* lib/test/unit.rb: Fix typo.
Tue Feb 22 21:39:28 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_digest.c: parenthesize macro arguments.

View File

@ -106,7 +106,7 @@ module Test
warn "#{caller(1)[0]}: warning: Parallel running disabled because can't get path to ruby; run specify with --ruby argument"
options[:parallel] = nil
else
options[:ruby] = RbConfig.ruby
options[:ruby] ||= RbConfig.ruby
end
true
@ -493,7 +493,7 @@ module Test
report.push(*r[:report])
@errors += r[:result][0]
@failures += r[:result][1]
@skips += r[:result][1]
@skips += r[:result][2]
end
end
end