You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Peter Samuelson <pe...@p12n.org> on 2008/06/19 08:23:52 UTC
Ruby test failure [was Re: 1.5.0 up for signing/testing]
[Hyrum K. Wright]
> I'm pleased to announce that Subversion 1.5.0 is up for testing and
> signing.
I get an odd failure in the ruby test. It looks like a too-fragile
test, but I have _no_ idea - maybe this is a real failure? Help.
--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
XXX/subversion/bindings/swig/ruby$ ruby1.8 test/run-test.rb test/test_wc.rb
Loaded suite test_wc.rb
Started
........F.........................
Finished in 82.14625 seconds.
1) Failure:
test_diff_callbacks_for_backward_compatibility(SvnWcTest)
XXX/subversion/bindings/swig/ruby/test/test_wc.rb:728:in `assert_diff_callbacks'
XXX/subversion/bindings/swig/ruby/svn/wc.rb:117:in `_open'
XXX/subversion/bindings/swig/ruby/svn/wc.rb:95:in `open'
XXX/subversion/bindings/swig/ruby/test/test_wc.rb:684:in `assert_diff_callbacks'
XXX/subversion/bindings/swig/ruby/test/test_wc.rb:734:in `test_diff_callbacks_for_backward_compatibility':
<[[:dir_props_changed,
"test/wc-tmp/wc",
[#<Svn::Core::Prop:0x2b05f2a388d8
@name="svn:entry:committed-date",
@value=nil>,
#<Svn::Core::Prop:0x2b05f2a388b0 @name="svn:entry:uuid", @value=nil>,
#<Svn::Core::Prop:0x2b05f2a38888 @name="svn:entry:last-author", @value=nil>,
#<Svn::Core::Prop:0x2b05f2a38860
@name="svn:entry:committed-rev",
@value=nil>]],
[:file_changed,
"test/wc-tmp/wc/dir/hello.txt",
[#<Svn::Core::Prop:0x2b05f2a387e8 @name="my-prop", @value="value">]],
[:file_added, "test/wc-tmp/wc/dir/hello2.txt", []]]> expected but was
<[[:dir_props_changed,
"test/wc-tmp/wc",
[#<Svn::Core::Prop:0x2b05f2a38e78 @name="svn:entry:uuid", @value=nil>,
#<Svn::Core::Prop:0x2b05f2a38e28
@name="svn:entry:committed-date",
@value=nil>,
#<Svn::Core::Prop:0x2b05f2a38dd8 @name="svn:entry:last-author", @value=nil>,
#<Svn::Core::Prop:0x2b05f2a38d88
@name="svn:entry:committed-rev",
@value=nil>]],
[:file_changed,
"test/wc-tmp/wc/dir/hello.txt",
[#<Svn::Core::Prop:0x2b05f2a38b58 @name="my-prop", @value="value">]],
[:file_added, "test/wc-tmp/wc/dir/hello2.txt", []]]>.
34 tests, 126 assertions, 1 failures, 0 errors
Re: Ruby test failure
Posted by Peter Samuelson <pe...@p12n.org>.
[Kouhei Sutou]
> {{{
> Normalize compared value.
>
> * subversion/bindings/swig/ruby/test/test_wc.rb
> (SvnWcTest#assert_diff_callbacks): Pass expected result to normalize.
> (SvnWcTest#test_diff_callbacks_for_backward_compatibility):
> Sort actual and expected result to compare.
> (SvnWcTest#test_diff_callbacks): Just receive and return expected result.
> }}}
That appears to fix it - and thanks for the quick response!
--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Ruby test failure
Posted by Kouhei Sutou <ko...@cozmixng.org>.
Hi,
In <20...@p12n.org>
"Ruby test failure [was Re: 1.5.0 up for signing/testing]" on Thu, 19 Jun 2008 03:23:52 -0500,
Peter Samuelson <pe...@p12n.org> wrote:
>
> I get an odd failure in the ruby test. It looks like a too-fragile
> test, but I have _no_ idea - maybe this is a real failure? Help.
> --
> Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
>
>
> XXX/subversion/bindings/swig/ruby$ ruby1.8 test/run-test.rb test/test_wc.rb
> Loaded suite test_wc.rb
> Started
> ........F.........................
> Finished in 82.14625 seconds.
>
> 1) Failure:
> test_diff_callbacks_for_backward_compatibility(SvnWcTest)
{{{
Normalize compared value.
* subversion/bindings/swig/ruby/test/test_wc.rb
(SvnWcTest#assert_diff_callbacks): Pass expected result to normalize.
(SvnWcTest#test_diff_callbacks_for_backward_compatibility):
Sort actual and expected result to compare.
(SvnWcTest#test_diff_callbacks): Just receive and return expected result.
}}}
Thanks,
--
kou