From 58d8d6528106daa86216f36e19e641cc65fffe3b Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 30 May 2017 06:50:35 +0000 Subject: Solaris 10 x86 raseis SEGV http://rubyci.s3.amazonaws.com/unstable10x/ruby-trunk/log/20170527T221806Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/rubyspec/optional/capi/kernel_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'spec/rubyspec') diff --git a/spec/rubyspec/optional/capi/kernel_spec.rb b/spec/rubyspec/optional/capi/kernel_spec.rb index 5747fe169f..ccb125be0d 100644 --- a/spec/rubyspec/optional/capi/kernel_spec.rb +++ b/spec/rubyspec/optional/capi/kernel_spec.rb @@ -193,8 +193,10 @@ describe "C-API Kernel function" do @s.rb_yield(1) { break 73 }.should == 73 end - it "rb_yield through a callback to a block that breaks with a value returns the value" do - @s.rb_yield_indirected(1) { break 73 }.should == 73 + platform_is_not :"solaris2.10" do # NOTE: i386-pc-solaris2.10 + it "rb_yield through a callback to a block that breaks with a value returns the value" do + @s.rb_yield_indirected(1) { break 73 }.should == 73 + end end end -- cgit v1.2.3