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

ruby-changes:22294

From: nobu <ko1@a...>
Date: Fri, 20 Jan 2012 17:27:35 +0900 (JST)
Subject: [ruby-changes:22294] nobu:r34343 (trunk, ruby_1_9_3): * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name): enabled the test too.

nobu	2012-01-20 17:27:24 +0900 (Fri, 20 Jan 2012)

  New Revision: 34343

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

  Log:
    * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name): enabled the test too.

  Modified files:
    branches/ruby_1_9_3/test/ruby/test_rubyoptions.rb
    trunk/test/ruby/test_rubyoptions.rb

Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 34342)
+++ test/ruby/test_rubyoptions.rb	(revision 34343)
@@ -418,7 +418,7 @@
   end
 
   def test_set_program_name
-    skip "platform dependent feature" if /linux|freebsd|netbsd|openbsd/ !~ RUBY_PLATFORM
+    skip "platform dependent feature" if /linux|freebsd|netbsd|openbsd|darwin/ !~ RUBY_PLATFORM
 
     with_tmpchdir do
       write_file("test-script", "$0 = 'hello world'; sleep 60")
Index: ruby_1_9_3/test/ruby/test_rubyoptions.rb
===================================================================
--- ruby_1_9_3/test/ruby/test_rubyoptions.rb	(revision 34342)
+++ ruby_1_9_3/test/ruby/test_rubyoptions.rb	(revision 34343)
@@ -418,7 +418,7 @@
   end
 
   def test_set_program_name
-    skip "platform dependent feature" if /linux|freebsd|netbsd|openbsd/ !~ RUBY_PLATFORM
+    skip "platform dependent feature" if /linux|freebsd|netbsd|openbsd|darwin/ !~ RUBY_PLATFORM
 
     with_tmpchdir do
       write_file("test-script", "$0 = 'hello world'; sleep 60")

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

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