https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2011-01-23T07:52:36Z
Ruby Issue Tracking System
Ruby master - Bug #4306: psych makes a lot of test failure on Win32 build
https://bugs.ruby-lang.org/issues/4306?journal_id=15470
2011-01-23T07:52:36Z
tenderlovemaking (Aaron Patterson)
tenderlove@ruby-lang.org
<ul></ul><p>=begin<br>
On Sun, Jan 23, 2011 at 01:41:47AM +0900, Motohiro KOSAKI wrote:</p>
<blockquote>
<p>Bug <a class="issue tracker-1 status-6 priority-4 priority-default closed" title="Bug: psych makes a lot of test failure on Win32 build (Rejected)" href="https://bugs.ruby-lang.org/issues/4306">#4306</a>: psych makes a lot of test failure on Win32 build<br>
<a href="http://redmine.ruby-lang.org/issues/show/4306" class="external">http://redmine.ruby-lang.org/issues/show/4306</a></p>
<p>Author: Motohiro KOSAKI<br>
Status: Open, Priority: Normal<br>
Assigned to: Aaron Patterson, Category: lib, Target version: 1.9.3<br>
ruby -v: ruby 1.9.3dev (2011-01-22 trunk 30630) [i386-mswin32_100]</p>
<p>Latest trunk makes a lot of test failure of 'nmake test-all' on win32 platform.</p>
<hr>
<ol start="5">
<li>
<p>Error:<br>
test_mapping(Psych::Nodes::TestEnumerable):<br>
NoMethodError: undefined method <code>each' for #<Psych::Nodes::Stream:0x677d084> C:/ruby/trunk/test/psych/nodes/test_enumerable.rb:36:in </code>calls'<br>
C:/ruby/trunk/test/psych/nodes/test_enumerable.rb:25:in `test_mapping'</p>
</li>
<li>
<p>Error:<br>
test_alias(Psych::Nodes::TestEnumerable):<br>
NoMethodError: undefined method <code>each' for #<Psych::Nodes::Stream:0x678601c> C:/ruby/trunk/test/psych/nodes/test_enumerable.rb:36:in </code>calls'<br>
C:/ruby/trunk/test/psych/nodes/test_enumerable.rb:29:in `test_alias'</p>
</li>
<li>
<p>Error:<br>
test_returns_enumerator(Psych::Nodes::TestEnumerable):<br>
NoMethodError: undefined method <code>each' for #<Psych::Nodes::Stream:0x678a07c> C:/ruby/trunk/test/psych/nodes/test_enumerable.rb:13:in </code>test_returns_enumerator'</p>
</li>
<li>
<p>Error:<br>
test_sequence(Psych::Nodes::TestEnumerable):<br>
NoMethodError: undefined method <code>each' for #<Psych::Nodes::Stream:0x678fe78> C:/ruby/trunk/test/psych/nodes/test_enumerable.rb:36:in </code>calls'<br>
C:/ruby/trunk/test/psych/nodes/test_enumerable.rb:21:in `test_sequence'</p>
</li>
<li>
<p>Error:<br>
test_scalar(Psych::Nodes::TestEnumerable):<br>
NoMethodError: undefined method <code>each' for #<Psych::Nodes::Stream:0x678d7e0> C:/ruby/trunk/test/psych/nodes/test_enumerable.rb:36:in </code>calls'<br>
C:/ruby/trunk/test/psych/nodes/test_enumerable.rb:17:in `test_scalar'</p>
</li>
<li>
<p>Error:<br>
test_includes_enumerable(Psych::Nodes::TestEnumerable):<br>
NoMethodError: undefined method <code>to_a' for #<Psych::Nodes::Stream:0x6792100> C:/ruby/trunk/test/psych/nodes/test_enumerable.rb:8:in </code>test_includes_enumerable'</p>
</li>
<li>
<p>Failure:<br>
test_multiple_maps(Psych::TestMergeKeys) [C:/ruby/trunk/test/psych/test_merge_keys.rb:43]:<br>
Expected {"x"=>1, "y"=>2, "r"=>10, "label"=>"center/big"}, not {"<<"=>[{"x"=>1, "y"=>2}, {"r"=>10}], "label"=>"center/big"}.</p>
</li>
<li>
<p>Failure:<br>
test_merge_key(Psych::TestMergeKeys) [C:/ruby/trunk/test/psych/test_merge_keys.rb:18]:<br>
Expected {"foo"=>{"hello"=>"world"}, "bar"=>{"hello"=>"world", "baz"=>"boo"}}, not {"foo"=>{"hello"=>"world"}, "bar"=>{"hello"=>"world"}}.</p>
</li>
<li>
<p>Failure:<br>
test_override(Psych::TestMergeKeys) [C:/ruby/trunk/test/psych/test_merge_keys.rb:69]:<br>
Expected {"x"=>1, "y"=>2, "r"=>10, "label"=>"center/big"}, not {"<<"=>[{"r"=>10}, {"x"=>0, "y"=>2}, {"r"=>1}], "x"=>1, "label"=>"center/big"}.</p>
</li>
<li>
<p>Failure:<br>
test_syntax_error_twice(Psych::TestParser) [C:/ruby/trunk/test/psych/test_parser.rb:136]:<br>
[Psych::SyntaxError] exception expected, not<br>
Class: <br>
Message: <"failed to allocate memory"><br>
---Backtrace---<br>
(eval):5:in <code>empty' C:/ruby/trunk/test/psych/test_parser.rb:137:in </code>parse'<br>
C:/ruby/trunk/test/psych/test_parser.rb:137:in `block in test_syntax_error_twice'</p>
</li>
</ol>
<hr>
<ol start="15">
<li>
<p>Failure:<br>
test_syntax_error_has_path_for_string(Psych::TestParser) [C:/ruby/trunk/test/psych/test_parser.rb:145]:<br>
Expected /():/ to match "couldn't parse YAML at line 3 column 0".</p>
</li>
<li>
<p>Failure:<br>
test_exception_line(Psych::TestParser) [C:/ruby/trunk/test/psych/test_parser.rb:170]:<br>
Expected /line\ 6/ to match "couldn't parse YAML at line 5 column 9".</p>
</li>
<li>
<p>Failure:<br>
test_syntax_error_has_path_for_io(Psych::TestParser) [C:/ruby/trunk/test/psych/test_parser.rb:155]:<br>
Expected /(hello!):/ to match "couldn't parse YAML at line 3 column 0".</p>
</li>
<li>
<p>Error:<br>
test_scalar(Psych::Visitors::TestDepthFirst):<br>
NameError: uninitialized constant Psych::Visitors::DepthFirst<br>
C:/ruby/trunk/test/psych/visitors/test_depth_first.rb:18:in <code>test_scalar' ./test/runner.rb:18:in </code>'</p>
</li>
<li>
<p>Error:<br>
test_sequence(Psych::Visitors::TestDepthFirst):<br>
NameError: uninitialized constant Psych::Visitors::DepthFirst<br>
C:/ruby/trunk/test/psych/visitors/test_depth_first.rb:26:in <code>test_sequence' ./test/runner.rb:18:in </code>'</p>
</li>
<li>
<p>Error:<br>
test_mapping(Psych::Visitors::TestDepthFirst):<br>
NameError: uninitialized constant Psych::Visitors::DepthFirst<br>
C:/ruby/trunk/test/psych/visitors/test_depth_first.rb:34:in <code>test_mapping' ./test/runner.rb:18:in </code>'</p>
</li>
<li>
<p>Error:<br>
test_alias(Psych::Visitors::TestDepthFirst):<br>
NameError: uninitialized constant Psych::Visitors::DepthFirst<br>
C:/ruby/trunk/test/psych/visitors/test_depth_first.rb:42:in <code>test_alias' ./test/runner.rb:18:in </code>'</p>
</li>
</ol>
<hr>
<p>test environment<br>
o Windows Vista (32bit)<br>
o libyaml-0.1.3<br>
o Visual C++ 2010 express<br>
o ruby trunk</p>
<p>Aaron?</p>
</blockquote>
<p>Can you try nmake clean, then rebuild? I've added files, and it looks<br>
like those files aren't being copied to .ext when you run nmake. It<br>
seems like a build problem, not a problem with psych.</p>
<p>--<br>
Aaron Patterson<br>
<a href="http://tenderlovemaking.com/" class="external">http://tenderlovemaking.com/</a></p>
<p>Attachment: (unnamed)<br>
=end</p>
Ruby master - Bug #4306: psych makes a lot of test failure on Win32 build
https://bugs.ruby-lang.org/issues/4306?journal_id=15474
2011-01-23T09:34:53Z
kosaki (Motohiro KOSAKI)
kosaki.motohiro@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Rejected</i></li></ul><p>=begin<br>
I'm sorry. Yes, rebuild and retest work perfectly.<br>
Therefore I'll close this ticket.</p>
<p>Thanks.<br>
=end</p>