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

ruby-changes:42298

From: naruse <ko1@a...>
Date: Tue, 29 Mar 2016 15:30:56 +0900 (JST)
Subject: [ruby-changes:42298] naruse:r54372 (ruby_2_3): merge revision(s) 54002: [Backport #12151]

naruse	2016-03-29 15:30:49 +0900 (Tue, 29 Mar 2016)

  New Revision: 54372

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

  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_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/test/zlib/test_zlib.rb
    branches/ruby_2_3/version.h
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 54371)
+++ ruby_2_3/ChangeLog	(revision 54372)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Tue Mar 29 15:27:14 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.
+
 Tue Mar 29 15:10:31 2016  Rei Odaira  <Rei.Odaira@g...>
 
 	* thread_pthread.c (getstack): __pi_stacksize returned by
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 54371)
+++ ruby_2_3/version.h	(revision 54372)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.0"
 #define RUBY_RELEASE_DATE "2016-03-29"
-#define RUBY_PATCHLEVEL 29
+#define RUBY_PATCHLEVEL 30
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 3
Index: ruby_2_3/test/zlib/test_zlib.rb
===================================================================
--- ruby_2_3/test/zlib/test_zlib.rb	(revision 54371)
+++ ruby_2_3/test/zlib/test_zlib.rb	(revision 54372)
@@ -1070,6 +1070,11 @@ if defined? Zlib https://github.com/ruby/ruby/blob/trunk/ruby_2_3/test/zlib/test_zlib.rb#L1070
         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
 
@@ -1087,6 +1092,11 @@ if defined? Zlib https://github.com/ruby/ruby/blob/trunk/ruby_2_3/test/zlib/test_zlib.rb#L1092
         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_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r54002


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

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