summaryrefslogtreecommitdiff
path: root/spec/ffi/library_spec.rb
diff options
context:
space:
mode:
authorLars Kanis <lars@greiz-reinsdorf.de>2023-05-08 10:44:58 +0200
committerLars Kanis <lars@greiz-reinsdorf.de>2023-05-08 10:44:58 +0200
commit938b5d8590361acf871fddb9149fe725f65d781f (patch)
treeebe3122c448c2a879395ba100b3726a936a36b71 /spec/ffi/library_spec.rb
parent9ff5782a0129e9025aa20e334ebf1ea77288edf7 (diff)
downloadffi-938b5d8590361acf871fddb9149fe725f65d781f.tar.gz
Exclude JRuby and Truffleruby at retrieval of function types
..until necessary native methods are added.
Diffstat (limited to 'spec/ffi/library_spec.rb')
-rw-r--r--spec/ffi/library_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/ffi/library_spec.rb b/spec/ffi/library_spec.rb
index 9bbbd6c..8691b17 100644
--- a/spec/ffi/library_spec.rb
+++ b/spec/ffi/library_spec.rb
@@ -228,6 +228,9 @@ describe "Library" do
end
it "can reveal the function type" do
+ skip 'this is not yet implemented on JRuby' if RUBY_ENGINE == 'jruby'
+ skip 'this is not yet implemented on Truffleruby' if RUBY_ENGINE == 'truffleruby'
+
mod = Module.new do |m|
m.extend FFI::Library
ffi_lib File.expand_path(TestLibrary::PATH)