aboutsummaryrefslogtreecommitdiffstats
path: root/test/zlib
diff options
context:
space:
mode:
authorodaira <odaira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-04 22:20:56 +0000
committerodaira <odaira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-04 22:20:56 +0000
commitd2333c3fab049dd256ccf9c3c3cb2fa777115dd4 (patch)
treee4aafe88732cf1b156200fe590ade43ec8292b0f /test/zlib
parentc1cb7d29c3d6cc25d560b2e29c54fde7816d53a0 (diff)
downloadruby-d2333c3fab049dd256ccf9c3c3cb2fa777115dd4.tar.gz
* 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/trunk@54002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/zlib')
-rw-r--r--test/zlib/test_zlib.rb10
1 files changed, 10 insertions, 0 deletions
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