diff options
author | Lars Kanis <lars@greiz-reinsdorf.de> | 2023-05-08 10:44:58 +0200 |
---|---|---|
committer | Lars Kanis <lars@greiz-reinsdorf.de> | 2023-05-08 10:44:58 +0200 |
commit | 938b5d8590361acf871fddb9149fe725f65d781f (patch) | |
tree | ebe3122c448c2a879395ba100b3726a936a36b71 /spec/ffi/variadic_spec.rb | |
parent | 9ff5782a0129e9025aa20e334ebf1ea77288edf7 (diff) | |
download | ffi-938b5d8590361acf871fddb9149fe725f65d781f.tar.gz |
Exclude JRuby and Truffleruby at retrieval of function types
..until necessary native methods are added.
Diffstat (limited to 'spec/ffi/variadic_spec.rb')
-rw-r--r-- | spec/ffi/variadic_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/ffi/variadic_spec.rb b/spec/ffi/variadic_spec.rb index 4d3f1c2..b528c09 100644 --- a/spec/ffi/variadic_spec.rb +++ b/spec/ffi/variadic_spec.rb @@ -40,6 +40,9 @@ describe "Function with variadic arguments" do end it "can reveal its return and parameters" 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' + fun = LibTest.attached_functions[:testBlockingWRva] expect(fun.param_types).to eq([FFI::Type::POINTER, FFI::Type::CHAR, FFI::Type::VARARGS]) expect(fun.return_type).to eq(FFI::Type::INT8) |