Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

RubySpec Repetition failure: Arity Mismatch undetected #73

Open
mgaudet opened this issue Jan 31, 2017 · 0 comments
Open

RubySpec Repetition failure: Arity Mismatch undetected #73

mgaudet opened this issue Jan 31, 2017 · 0 comments

Comments

@mgaudet
Copy link

mgaudet commented Jan 31, 2017

Since ruby/spec#381 was closed, we can now run RubySpec with a repeat, and better stress the inliner. This appears to reveal an arity mismatch detection error:

 OMR_JIT_OPTIONS=-Xjit:count=1,optLevel=warm LD_LIBRARY_PATH=$PWD ./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems -r./x86_64-linux-fake ./spec/mspec/bin/mspec run -R3 -B ./spec/default.mspec
ruby 2.4.0p0 (2016-12-24 revision 57163) [x86_64-linux]
last_commit=Merge pull request #71 from mgaudet/updates
                                                                                            
1)
Invoking a method with zero arguments raises ArgumentError if the method has a positive arity FAILED
Expected ArgumentError
but no exception was raised ([70223650878668] was returned)
/home/magaudet/open/ruby_Inliner/spec/rubyspec/language/send_spec.rb:23:in `block (3 levels) in <top (required)>'
/home/magaudet/open/ruby_Inliner/spec/rubyspec/language/send_spec.rb:16:in `<top (required)>'
                                                                                            
2)
Invoking a method with zero arguments raises ArgumentError if the method has a positive arity FAILED
Expected ArgumentError
but no exception was raised ([70223650878668] was returned)
/home/magaudet/open/ruby_Inliner/spec/rubyspec/language/send_spec.rb:23:in `block (3 levels) in <top (required)>'
/home/magaudet/open/ruby_Inliner/spec/rubyspec/language/send_spec.rb:16:in `<top (required)>'
                                                                                            
3)
Invoking a method with only mandatory arguments raises ArgumentError if the methods arity doesn't match FAILED
Expected ArgumentError but no exception was raised ([1] was returned)
/home/magaudet/open/ruby_Inliner/spec/rubyspec/language/send_spec.rb:39:in `block (3 levels) in <top (required)>'
/home/magaudet/open/ruby_Inliner/spec/rubyspec/language/send_spec.rb:16:in `<top (required)>'
                                                                                            
4)
Invoking a method with only mandatory arguments raises ArgumentError if the methods arity doesn't match FAILED
Expected ArgumentError but no exception was raised ([1] was returned)
/home/magaudet/open/ruby_Inliner/spec/rubyspec/language/send_spec.rb:39:in `block (3 levels) in <top (required)>'
/home/magaudet/open/ruby_Inliner/spec/rubyspec/language/send_spec.rb:16:in `<top (required)>'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant