diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-30 06:50:35 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-30 06:50:35 +0000 |
commit | 58d8d6528106daa86216f36e19e641cc65fffe3b (patch) | |
tree | 7492a9e0fc97f7be1f6ea4841e48703bcadc373a /spec | |
parent | 11954049fa5604703fe2fca7e3a299f27ec4abda (diff) | |
download | ruby-58d8d6528106daa86216f36e19e641cc65fffe3b.tar.gz |
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
Diffstat (limited to 'spec')
-rw-r--r-- | spec/rubyspec/optional/capi/kernel_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
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 |