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

Bug#623900: added crack to alioth git repo



Hi Hideki,

I imported your package to alioth git repo and tweked ruby-tests.rake
to actually run the tests. Now all tests run with ruby 1.8 but 4 tests
fails with ruby 1.9.1

/usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby
/usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
/usr/bin/ruby1.8 -I"lib:test" -I"/usr/lib/ruby/vendor_ruby"
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb"
"test/json_test.rb" "test/hash_test.rb" "test/crack_test.rb"
"test/parser_test.rb" "test/string_test.rb" "test/xml_test.rb"
Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
Started
......................................................................................
Finished in 0.118895 seconds.

86 tests, 48 assertions, 0 failures, 0 errors
/usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby
/usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
/usr/bin/ruby1.9.1 -I"lib:test" -I"/usr/lib/ruby/vendor_ruby"
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb"
"test/json_test.rb" "test/hash_test.rb" "test/crack_test.rb"
"test/parser_test.rb" "test/string_test.rb" "test/xml_test.rb"
Run options:

# Running tests:

....................................FF.F...F..........................................

Finished tests in 0.143082s, 601.0527 tests/s, 335.4713 assertions/s.

  1) Failure:
test: Json should decode json ({a: "2007-01-01 01:12:34 Z"}).
(JsonTest) [/usr/lib/ruby/vendor_ruby/matchy/expectation_builder.rb:6]:
Expected #<Proc:0x0000000227c340@/tmp/buildd/ruby-crack-0.3.2/test/json_test.rb:48
(lambda)> to not raise Exception.

  2) Failure:
test: Json should decode json ({a: "2007-01-01 01:12:34"}). (JsonTest)
[/usr/lib/ruby/vendor_ruby/matchy/expectation_builder.rb:6]:
Expected #<Proc:0x0000000230d278@/tmp/buildd/ruby-crack-0.3.2/test/json_test.rb:48
(lambda)> to not raise Exception.

  3) Failure:
test: Json should decode json ({a: "2007-01-01T01:12:34Z"}).
(JsonTest) [/usr/lib/ruby/vendor_ruby/matchy/expectation_builder.rb:6]:
Expected #<Proc:0x000000023b4a50@/tmp/buildd/ruby-crack-0.3.2/test/json_test.rb:48
(lambda)> to not raise Exception.

  4) Failure:
test: Json should raise error for failed decoding. (JsonTest)
[/usr/lib/ruby/vendor_ruby/matchy/expectation_builder.rb:6]:
Expected #<Proc:0x0000000206d888@/tmp/buildd/ruby-crack-0.3.2/test/json_test.rb:55
(lambda)> to raise Crack::ParseError, but Psych::SyntaxError was
raised instead.

86 tests, 48 assertions, 4 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (4): [/usr/bin/ruby1.9.1 -I"lib:test" -I"/usr/li...]

Tasks: TOP => default => test
(See full trace by running task with --trace)
ERROR: Test "ruby1.9.1" failed. Exiting.

--
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
You have to keep reminding your government that you don't get your
rights from them; you give them permission to rule, only so long as
they follow the rules: laws and constitution.


Reply to: