summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo Anjo <ivo.anjo@datadoghq.com>2021-02-19 16:20:06 +0000
committerIvo Anjo <ivo.anjo@datadoghq.com>2021-02-19 16:20:06 +0000
commit0ac0a4537f2afc670e00339bd3907698c05818e5 (patch)
treeb2450a64f9941fb171151169939401e92dc17235
parent9ca169334003cff95803f36cd9280d1fc42823e8 (diff)
downloadffi-0ac0a4537f2afc670e00339bd3907698c05818e5.tar.gz
Skip thread naming spec on TruffleRuby
I'll submit this separately.
-rw-r--r--spec/ffi/function_spec.rb2
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")