diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-28 15:43:53 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-28 15:43:53 +0000 |
commit | 0df7d0a5f2b843936673f853f08acd7148899581 (patch) | |
tree | b9c1ede389e2c3c7263683ceeaee08d6119892bf | |
parent | 77fa46415a9f081c33b32729b0beefb965adf8e8 (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_2@54325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | test/zlib/test_zlib.rb | 10 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 18 insertions, 1 deletions
@@ -1,3 +1,10 @@ +Tue Mar 29 00:43:40 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 00:42:10 2016 Rei Odaira <Rei.Odaira@gmail.com> * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_lock): skip diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb index a7fa943c7a..75473e272c 100644 --- a/test/zlib/test_zlib.rb +++ b/test/zlib/test_zlib.rb @@ -1044,6 +1044,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 @@ -1061,6 +1066,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 @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.2.5" #define RUBY_RELEASE_DATE "2016-03-29" -#define RUBY_PATCHLEVEL 267 +#define RUBY_PATCHLEVEL 268 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 3 |