[前][次][番号順一覧][スレッド一覧]

ruby-changes:21594

From: akr <ko1@a...>
Date: Sun, 6 Nov 2011 00:14:43 +0900 (JST)
Subject: [ruby-changes:21594] akr:r33643 (trunk): * lib/test/unit.rb (Test::Unit::Options#non_options): options[:ruby]

akr	2011-11-06 00:14:33 +0900 (Sun, 06 Nov 2011)

  New Revision: 33643

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33643

  Log:
    * lib/test/unit.rb (Test::Unit::Options#non_options): options[:ruby]
      should be an array.  This fixes
      "./ruby test/runner.rb test/testunit/test_parallel.rb"
      [ruby-dev:44782]

  Modified files:
    trunk/ChangeLog
    trunk/lib/test/unit.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33642)
+++ ChangeLog	(revision 33643)
@@ -1,3 +1,10 @@
+Sun Nov  6 00:11:52 2011  Tanaka Akira  <akr@f...>
+
+	* lib/test/unit.rb (Test::Unit::Options#non_options): options[:ruby]
+	  should be an array.  This fixes
+	  "./ruby test/runner.rb test/testunit/test_parallel.rb"
+	  [ruby-dev:44782]
+
 Sat Nov  5 20:30:30 2011  Martin Duerst  <duerst@i...>
 
 	* insns.def: Some fixes and tweaks to English explanations
Index: lib/test/unit.rb
===================================================================
--- lib/test/unit.rb	(revision 33642)
+++ lib/test/unit.rb	(revision 33643)
@@ -116,7 +116,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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]