summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-29 06:30:49 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-29 06:30:49 +0000
commit56f3cc71c4c3d70dad5d7878ab7e314def503410 (patch)
treeed0bc181ed5965c628157342bfed6b0a88520113
parentc6b7092c217af2c0d6e6e92a20c02ac2845699af (diff)
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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--test/zlib/test_zlib.rb10
-rw-r--r--version.h2
3 files changed, 18 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9f15c24807..e6dfde2960 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Tue Mar 29 15:27:14 2016 Rei Odaira <Rei.Odaira@gmail.com>
+
+ * 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@gmail.com>
* thread_pthread.c (getstack): __pi_stacksize returned by
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index 37d4b69b0a..0092daf0d9 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -1070,6 +1070,11 @@ if defined? Zlib
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
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
diff --git a/version.h b/version.h
index 192cd5987c..1ac6b8c9a2 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#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