[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745746: many tests are failing



Running tests for ruby2.0 using debian/ruby-tests.rake ...
/usr/bin/ruby2.0 -S rspec
./spec/generator_spec/generator_example_group_spec.rb
./spec/generator_spec/matcher_spec.rb
./spec/generator_spec/test_case_spec.rb
........F........F.F...F.......

Failures:

  1) GeneratorSpec::Matcher::Migration#matches? with no contains throws
:failure if it doesnt exist
     Failure/Error: Unable to find matching line from backtrace
       expected :failure to be thrown, got nothing
     # ./spec/generator_spec/matcher_spec.rb:117:in `block (4 levels) in
<module:Matcher>'

  2) GeneratorSpec::Matcher::Directory#matches? with a directory name
throws :failure if it doesnt exist
     Failure/Error: Unable to find matching line from backtrace
       expected :failure to be thrown, got nothing
     # ./spec/generator_spec/matcher_spec.rb:214:in `block (4 levels) in
<module:Matcher>'

  3) GeneratorSpec::Matcher::Directory#matches? with a directory object
throws :failure if it doesnt exist
     Failure/Error: Unable to find matching line from backtrace
       expected :failure to be thrown, got nothing
     # ./spec/generator_spec/matcher_spec.rb:242:in `block (4 levels) in
<module:Matcher>'

  4) GeneratorSpec::Matcher::Root#matches? returns false on failures
     Failure/Error: Unable to find matching line from backtrace
       expected: false value
            got: true
     # ./spec/generator_spec/matcher_spec.rb:294:in `block (3 levels) in
<module:Matcher>'

Finished in 1.11 seconds
31 examples, 4 failures

Failed examples:

rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:187 #
GeneratorSpec::Matcher::Migration#matches? with no contains throws
:failure if it doesnt exist
rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:187 #
GeneratorSpec::Matcher::Directory#matches? with a directory name throws
:failure if it doesnt exist
rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:187 #
GeneratorSpec::Matcher::Directory#matches? with a directory object
throws :failure if it doesnt exist
rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:187 #
GeneratorSpec::Matcher::Root#matches? returns false on failures
/usr/bin/ruby2.0 -S rspec
./spec/generator_spec/generator_example_group_spec.rb
./spec/generator_spec/matcher_spec.rb
./spec/generator_spec/test_case_spec.rb failed

Test "ruby2.0" failed. Continue building the package? (Y/N) y
Running tests for ruby2.1 using debian/ruby-tests.rake ...
/usr/bin/ruby2.1 -S rspec
./spec/generator_spec/generator_example_group_spec.rb
./spec/generator_spec/matcher_spec.rb
./spec/generator_spec/test_case_spec.rb
........F........F.FF..F.......

Failures:

  1) GeneratorSpec::Matcher::Migration#matches? with no contains throws
:failure if it doesnt exist
     Failure/Error: Unable to find matching line from backtrace
       expected :failure to be thrown, got nothing
     # ./spec/generator_spec/matcher_spec.rb:117:in `block (4 levels) in
<module:Matcher>'

  2) GeneratorSpec::Matcher::Directory#matches? with a directory name
throws :failure if it doesnt exist
     Failure/Error: Unable to find matching line from backtrace
       expected :failure to be thrown, got nothing
     # ./spec/generator_spec/matcher_spec.rb:214:in `block (4 levels) in
<module:Matcher>'

  3) GeneratorSpec::Matcher::Directory#matches? with a directory object
throws :failure if it doesnt exist
     Failure/Error: Unable to find matching line from backtrace
       expected :failure to be thrown, got nothing
     # ./spec/generator_spec/matcher_spec.rb:242:in `block (4 levels) in
<module:Matcher>'

  4) GeneratorSpec::Matcher::Directory#matches? #no_file doesnt throw if
the file exist
     Failure/Error: Unable to find matching line from backtrace
       expected no Symbol to be thrown, got :failure
     # ./spec/generator_spec/matcher_spec.rb:260:in `block (4 levels) in
<module:Matcher>'

  5) GeneratorSpec::Matcher::Root#matches? returns false on failures
     Failure/Error: Unable to find matching line from backtrace
       expected: false value
            got: true
     # ./spec/generator_spec/matcher_spec.rb:294:in `block (3 levels) in
<module:Matcher>'

Finished in 0.08923 seconds
31 examples, 5 failures

Failed examples:

rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:187 #
GeneratorSpec::Matcher::Migration#matches? with no contains throws
:failure if it doesnt exist
rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:187 #
GeneratorSpec::Matcher::Directory#matches? with a directory name throws
:failure if it doesnt exist
rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:187 #
GeneratorSpec::Matcher::Directory#matches? with a directory object
throws :failure if it doesnt exist
rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:187 #
GeneratorSpec::Matcher::Directory#matches? #no_file doesnt throw if the
file exist
rspec /usr/lib/ruby/vendor_ruby/rspec/core/metadata.rb:187 #
GeneratorSpec::Matcher::Root#matches? returns false on failures
/usr/bin/ruby2.1 -S rspec
./spec/generator_spec/generator_example_group_spec.rb
./spec/generator_spec/matcher_spec.rb
./spec/generator_spec/test_case_spec.rb failed

Test "ruby2.1" failed. Continue building the package? (Y/N)
Test "ruby2.1" failed. Continue building the package? (Y/N)


Reply to: