diff options
author | Ivo Anjo <ivo.anjo@datadoghq.com> | 2021-02-19 16:20:06 +0000 |
---|---|---|
committer | Ivo Anjo <ivo.anjo@datadoghq.com> | 2021-02-19 16:20:06 +0000 |
commit | 0ac0a4537f2afc670e00339bd3907698c05818e5 (patch) | |
tree | b2450a64f9941fb171151169939401e92dc17235 | |
parent | 9ca169334003cff95803f36cd9280d1fc42823e8 (diff) | |
download | ffi-0ac0a4537f2afc670e00339bd3907698c05818e5.tar.gz |
Skip thread naming spec on TruffleRuby
I'll submit this separately.
-rw-r--r-- | spec/ffi/function_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/ffi/function_spec.rb b/spec/ffi/function_spec.rb index 7e84858..187d04b 100644 --- a/spec/ffi/function_spec.rb +++ b/spec/ffi/function_spec.rb @@ -23,6 +23,8 @@ describe FFI::Function do context 'when called with a block' do it 'creates a thread for dispatching callbacks and sets its name' do + skip "not yet supported on TruffleRuby" if RUBY_ENGINE == "truffleruby" + FFI::Function.new(:int, []) { 5 } # Trigger initialization expect(Thread.list.map(&:name)).to include("FFI::Function Callback Dispatcher") |