ruby-changes:51627
From: naruse <ko1@a...>
Date: Tue, 3 Jul 2018 20:10:51 +0900 (JST)
Subject: [ruby-changes:51627] naruse:r63839 (trunk): skip test_localtime_zone if force_tz_test is false
naruse 2018-07-03 20:10:45 +0900 (Tue, 03 Jul 2018) New Revision: 63839 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63839 Log: skip test_localtime_zone if force_tz_test is false For example Solaris https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10x/ruby-trunk/log/20180703T091803Z.fail.html.gz Modified files: trunk/test/ruby/test_time_tz.rb Index: test/ruby/test_time_tz.rb =================================================================== --- test/ruby/test_time_tz.rb (revision 63838) +++ test/ruby/test_time_tz.rb (revision 63839) @@ -109,6 +109,7 @@ class TestTimeTZ < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_time_tz.rb#L109 t = with_tz("America/Los_Angeles") { Time.local(2000, 1, 1) } + skip "force_tz_test is false on this environment" unless t z1 = t.zone z2 = with_tz(tz="Asia/Singapore") { t.localtime.zone -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/