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

ruby-changes:42193

From: usa <ko1@a...>
Date: Fri, 25 Mar 2016 17:35:19 +0900 (JST)
Subject: [ruby-changes:42193] usa:r54267 (ruby_2_1): merge revision(s) 54002: [Backport #12151]

usa	2016-03-25 17:35:15 +0900 (Fri, 25 Mar 2016)

  New Revision: 54267

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54267

  Log:
    merge revision(s) 54002: [Backport #12151]
    
    * test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine):
      Skip two tests on AIX because zconf.h in zlib does not correctly
      recognize _LARGE_FILES in AIX. The problem was already reported
      to zlib, and skip these tests until it is fixed.

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/test/zlib/test_zlib.rb
    branches/ruby_2_1/version.h
Index: ruby_2_1/ChangeLog
===================================================================
--- ruby_2_1/ChangeLog	(revision 54266)
+++ ruby_2_1/ChangeLog	(revision 54267)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1
+Fri Mar 25 17:35:06 2016  Rei Odaira  <Rei.Odaira@g...>
+
+	* test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine):
+	  Skip two tests on AIX because zconf.h in zlib does not correctly
+	  recognize _LARGE_FILES in AIX. The problem was already reported
+	  to zlib, and skip these tests until it is fixed.
+
 Fri Mar 25 17:33:52 2016  Rei Odaira  <Rei.Odaira@g...>
 
 	* test/socket/test_addrinfo.rb (test_ipv6_address_predicates):
Index: ruby_2_1/version.h
===================================================================
--- ruby_2_1/version.h	(revision 54266)
+++ ruby_2_1/version.h	(revision 54267)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1
 #define RUBY_VERSION "2.1.9"
 #define RUBY_RELEASE_DATE "2016-03-25"
-#define RUBY_PATCHLEVEL 464
+#define RUBY_PATCHLEVEL 465
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 3
Index: ruby_2_1/test/zlib/test_zlib.rb
===================================================================
--- ruby_2_1/test/zlib/test_zlib.rb	(revision 54266)
+++ ruby_2_1/test/zlib/test_zlib.rb	(revision 54267)
@@ -1046,6 +1046,11 @@ if defined? Zlib https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/zlib/test_zlib.rb#L1046
         assert_equal(0x02820145, Zlib.adler32_combine(one, two, 1))
       rescue NotImplementedError
         skip "adler32_combine is not implemented"
+      rescue Minitest::Assertion
+        if /aix/ =~ RUBY_PLATFORM
+          skip "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
+        end
+        raise $!
       end
     end
 
@@ -1063,6 +1068,11 @@ if defined? Zlib https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/zlib/test_zlib.rb#L1068
         assert_equal(0x8c736521, Zlib.crc32_combine(one, two, 1))
       rescue NotImplementedError
         skip "crc32_combine is not implemented"
+      rescue Minitest::Assertion
+        if /aix/ =~ RUBY_PLATFORM
+          skip "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
+        end
+        raise $!
       end
     end
 

Property changes on: ruby_2_1
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r54002


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

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