summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-09-21 19:55:25 +0200
committergit <svn-admin@ruby-lang.org>2023-09-22 07:29:22 +0000
commit50e3b27db7ebf3bceffaaa2852e00a3c27e494c7 (patch)
tree4298a6c06af6e2e833eb2f8695e8f2a7066b7066
parentfb7a2ddb4be21a6d0def8286f341b1b4ee368fe0 (diff)
[ruby/zlib] Add truffleruby-head in CI
* The latest release does not have this fix: https://github.com/oracle/truffleruby/commit/c77f8bb35db084c99d1f5b14748267866004222e https://github.com/ruby/zlib/commit/8abc80b994
-rw-r--r--test/zlib/test_zlib.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index 464141f7d4..779c583424 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -506,6 +506,7 @@ if defined? Zlib
end
def test_multithread_deflate
+ pend 'hangs' if RUBY_ENGINE == 'truffleruby'
zd = Zlib::Deflate.new
s = "x" * 10000
@@ -522,6 +523,7 @@ if defined? Zlib
end
def test_multithread_inflate
+ pend 'hangs' if RUBY_ENGINE == 'truffleruby'
zi = Zlib::Inflate.new
s = Zlib.deflate("x" * 10000)
@@ -792,7 +794,7 @@ if defined? Zlib
}
end
- if defined? File::TMPFILE
+ if defined?(File::TMPFILE) and RUBY_ENGINE != 'truffleruby'
def test_path_tmpfile
sio = StringIO.new("".dup, 'w')
gz = Zlib::GzipWriter.new(sio)