ruby-changes:18917
From: sorah <ko1@a...>
Date: Tue, 22 Feb 2011 23:16:51 +0900 (JST)
Subject: [ruby-changes:18917] Ruby:r30942 (trunk): * lib/test/unit.rb: Fix --ruby option doesn't effect.
sorah 2011-02-22 23:16:38 +0900 (Tue, 22 Feb 2011) New Revision: 30942 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30942 Log: * lib/test/unit.rb: Fix --ruby option doesn't effect. * lib/test/unit.rb: Fix typo. Modified files: trunk/ChangeLog trunk/lib/test/unit.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 30941) +++ ChangeLog (revision 30942) @@ -1,3 +1,8 @@ +Tue Feb 22 23:15:17 2011 Shota Fukumori (sora_h) <sorah@t...> + + * 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@f...> * ext/openssl/ossl_digest.c: parenthesize macro arguments. Index: lib/test/unit.rb =================================================================== --- lib/test/unit.rb (revision 30941) +++ lib/test/unit.rb (revision 30942) @@ -106,7 +106,7 @@ 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 @@ report.push(*r[:report]) @errors += r[:result][0] @failures += r[:result][1] - @skips += r[:result][1] + @skips += r[:result][2] end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/