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

ruby-changes:32994

From: nobu <ko1@a...>
Date: Fri, 21 Feb 2014 16:49:59 +0900 (JST)
Subject: [ruby-changes:32994] nobu:r45073 (trunk): test_logdevice.rb: run iff timezene supported

nobu	2014-02-21 16:49:54 +0900 (Fri, 21 Feb 2014)

  New Revision: 45073

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

  Log:
    test_logdevice.rb: run iff timezene supported
    
    * test/logger/test_logdevice.rb (test_shifting_dst_change): test
      only on platforms where timezone is supported.

  Modified files:
    trunk/test/logger/test_logdevice.rb
Index: test/logger/test_logdevice.rb
===================================================================
--- test/logger/test_logdevice.rb	(revision 45072)
+++ test/logger/test_logdevice.rb	(revision 45073)
@@ -398,7 +398,7 @@ class TestLogDevice < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/logger/test_logdevice.rb#L398
       assert_not_match(/hello-1/, cont)
       assert_file.exist?(log+".20140330")
     end
-  end
+  end if /linux|darwin|freebsd/ =~ RUBY_PLATFORM # borrow from test/ruby/test_time_tz.rb
 
   private
 

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

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