I'd like to request the stabilization of dev-ruby/rspec-1.3.1 and its dependencies. RSpec is used by many packages to run tests, so stabilizing this package is blocking for quite a few ruby packages that use the ruby-ng framework. This stabilization is also blocking for the forthcoming rails stabilization, so I have added all arches that have rails stable. =dev-ruby/heckle-1.4.3-r2 =dev-ruby/fakefs-0.2.1 =dev-ruby/syntax-1.0.0-r2 =dev-ruby/rspec-1.3.0
Aargh. And I mess up the rspec version. Corrected list: =dev-ruby/heckle-1.4.3-r2 =dev-ruby/fakefs-0.2.1 =dev-ruby/syntax-1.0.0-r2 =dev-ruby/rspec-1.3.1
amd64 done
x86 done. Thanks!
ppc done
sparc done
ia64 stable
Ran into 2 test failures for this (on ppc64): mock failure should tell you when it receives the right message with the wrong args if you stub the method (fix bug 15719) ./spec/spec/mocks/bug_report_15719_spec.rb:16 1) Spec::Mocks::MockExpectationError in 'ExampleGroupMethods#run_before_all does not create an instance if before_all_parts are empty' <#<Class:0xfff93f76cd0> (class)> expected :new with (before(:all)) 0 times, but received it once ./spec/spec/example/example_group_methods_spec.rb:662:in `__send__' ./spec/spec/example/example_group_methods_spec.rb:662: /usr/lib64/ruby/1.8/timeout.rb:67:in `timeout' 2) NoMethodError in 'ExampleGroupMethods#run_after_all does not create an instance if after_all_parts are empty' undefined method `reporter' for nil:NilClass ./spec/spec/example/example_group_methods_spec.rb:670:in `__send__' ./spec/spec/example/example_group_methods_spec.rb:670: /usr/lib64/ruby/1.8/timeout.rb:67:in `timeout'
(In reply to comment #7) > mock failure should tell you when it receives the right message with the wrong > args if you stub the method (fix bug 15719) > ./spec/spec/mocks/bug_report_15719_spec.rb:16 This is a pending spec that can safely be ignored. > 1) > Spec::Mocks::MockExpectationError in 'ExampleGroupMethods#run_before_all does > not create an instance if before_all_parts are empty' > <#<Class:0xfff93f76cd0> (class)> expected :new with (before(:all)) 0 times, but > received it once > ./spec/spec/example/example_group_methods_spec.rb:662:in `__send__' > ./spec/spec/example/example_group_methods_spec.rb:662: > /usr/lib64/ruby/1.8/timeout.rb:67:in `timeout' > > 2) > NoMethodError in 'ExampleGroupMethods#run_after_all does not create an instance > if after_all_parts are empty' > undefined method `reporter' for nil:NilClass > ./spec/spec/example/example_group_methods_spec.rb:670:in `__send__' > ./spec/spec/example/example_group_methods_spec.rb:670: > /usr/lib64/ruby/1.8/timeout.rb:67:in `timeout' I can't explain these. It looks like the setup for these specs has issues which causes errors or which at least causes the wrong path to be taken in the code. Hard to debug from a distance. I'm not sure if this version is still supported by upstream. Long shot debugging attempt: do you perhaps have an old version of rspec installted (either through portage or as a gem)?
(In reply to comment #8) > I can't explain these. It looks like the setup for these specs has issues which > causes errors or which at least causes the wrong path to be taken in the code. > Hard to debug from a distance. I'm not sure if this version is still supported > by upstream. > > Long shot debugging attempt: do you perhaps have an old version of rspec > installted (either through portage or as a gem)? This is a completely new install, and the only time I've ever tried to install rspec.
I've just added 1.3.2 to the tree which has some bug fixes. Could you try that version to see if that works?
cannot reproduce those failures on my 2 boxes, so I guess we'll proceed. rspec has some missing dependencies for USE="test" Running test phase for ruby18 ... (in /var/tmp/portage/dev-ruby/rspec-1.3.1/work/ruby18/rspec-1.3.1) which: no dot in (/usr/lib64/portage/bin/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.4.5) You need cucumber installed to run cucumber tasks nokogiri not loaded -- skipping TextMateFormatter specs nokogiri not loaded -- skipping HtmlFormatter specs so I guess: media-gfx/graphviz dev-util/cucumber dev-ruby/nokogiri Nevertheless, ppc64 stable, last arch done