summaryrefslogtreecommitdiff
path: root/spec/ffi/variadic_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ffi/variadic_spec.rb')
-rw-r--r--spec/ffi/variadic_spec.rb3
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)