From 50e3b27db7ebf3bceffaaa2852e00a3c27e494c7 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Thu, 21 Sep 2023 19:55:25 +0200 Subject: [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 --- test/zlib/test_zlib.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') 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) -- cgit v1.2.3