Skip Menu |

This queue is for tickets about the Test-HTML-Content CPAN distribution.

Report information
The Basics
Id: 4741
Status: new
Priority: 0/
Queue: Test-HTML-Content

People
Owner: Nobody in particular
Requestors: merlyn [...] stonehenge.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: 0.03, 0.05, 0.06 fail to test clean on OSX
Here's a sample run: Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-prerequisites..............................ok t/01-fallback-libxml............................ok t/01-fallback-pureperl..........................XML/XPath.pm did not return a true value at /Volumes/UFS/opt/perl/cpan/build/Test-HTML-Content-0.06/blib/lib/Test/HTML/Content.pm line 552. XML/XPath.pm did not return a true value at /Volumes/UFS/opt/perl/cpan/build/Test-HTML-Content-0.06/blib/lib/Test/HTML/Content.pm line 552. t/01-fallback-pureperl..........................ok t/01-fallback-xpath.............................NOK 3# Failed test (t/01-fallback-xpath.t at line 20) # got: 'No such method textContent in XML::XPath::Node::ElementImpl at /Volumes/UFS/opt/perl/cpan/build/Test-HTML-Content-0.06/blib/lib/Test/HTML/Content.pm line 277 # ' # expected: '' Use of uninitialized value in string eq at t/01-fallback-xpath.t line 21. Use of uninitialized value in numeric eq (==) at t/01-fallback-xpath.t line 21. t/01-fallback-xpath.............................NOK 4# Failed test (t/01-fallback-xpath.t at line 21) Use of uninitialized value in concatenation (.) or string at t/01-fallback-xpath.t line 21. # Expected 'skip' or '1', but got '' # Looks like you failed 2 tests of 4. t/01-fallback-xpath.............................dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 3-4 Failed 2/4 tests, 50.00% okay t/01-internal-api...............................ok t/01-xpath-query-builder........................ok t/02-tags.......................................ok t/03-links......................................ok t/04-comments...................................ok t/05-doctype....................................ok t/06-text.......................................ok t/07-errors.link................................ok t/08-errors.comment.............................ok t/09-errors.declaration.........................ok t/09-errors.xpath...............................ok t/10-errors.text................................ok t/12-title-fallback.............................ok 6/13 skipped: XML::LibXML or XML::XPath not loaded t/12-title......................................ok t/13-xpath-gracefull-errors.....................ok 2/10 skipped: XML::XPath or XML::LibXML required t/99-manifest...................................ok t/99-Pod........................................ok t/99-todo.......................................ok t/99-unix-text..................................ok t/embedded-Test-HTML-Content-NoXPath............ok t/embedded-Test-HTML-Content-XPathExtensions....ok t/embedded-Test-HTML-Content....................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/01-fallback-xpath.t 2 512 4 2 50.00% 3-4 8 subtests skipped. Failed 1/26 test scripts, 96.15% okay. 2/632 subtests failed, 99.68% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK
Subject: 0.03, 0.05, 0.06 fail to test clean on OSX -- 0.07 fails as well
From: JKEENAN
Following up on this report: [MERLYN - Mon Dec 22 14:06:05 2003]: I tried v0.07 on Mac OS X (10.3), running Perl 5.8.4, using Test-Simple-0.62. Here's my output: PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-prerequisites..............................ok t/01-fallback-libxml............................ok 4/4 skipped: Need Test::Without::Module to test the fallback t/01-fallback-pureperl..........................ok 4/4 skipped: Need Test::Without::Module to test the fallback t/01-fallback-xpath.............................ok 4/4 skipped: Need Test::Without::Module to test the fallback t/01-internal-api...............................ok t/01-xpath-query-builder........................ok t/02-tags.......................................ok t/03-links......................................ok t/04-comments...................................ok t/05-doctype....................................ok t/06-text.......................................ok t/07-errors.link................................NOK 2 # Failed test 'Finding no link works' # in t/07-errors.link.t at line 29. # STDERR is: # # # Failed test 'Link failure (no links)' # # in t/07-errors.link.t at line 28. # # Expected to find at least one <a> tag(s) matching # # href = http://www.perl.com # # Got none # # not: # # Failed test (t/07-errors.link.t at line 28) # # Expected to find at least one <a> tag(s) matching # # href = http://www.perl.com # # Got none # # as expected t/07-errors.link................................NOK 3 # Failed test 'Finding no link returns all other links' # in t/07-errors.link.t at line 48. # STDERR is: # # # Failed test 'Link failure (two links that don't match)' # # in t/07-errors.link.t at line 46. # # Expected to find at least one <a> tag(s) matching # # href = http://www.perl.com # # Got # # <a href='http://www.foo.com'> # # <a href='index.html'> # # not: # # Failed test (t/07-errors.link.t at line 46) # # Expected to find at least one <a> tag(s) matching # # href = http://www.perl.com # # Got # # <a href='http://www.foo.com'> # # <a href='index.html'> # # as expected t/07-errors.link................................NOK 4 # Failed test 'Finding a link where one should be returns all other links' # in t/07-errors.link.t at line 67. # STDERR is: # # # Failed test 'Link failure (two links shouldn't exist do)' # # in t/07-errors.link.t at line 65. # # Expected to find no <a> tag(s) matching # # href = (?-xism:.) # # Got # # <a href='http://www.foo.com'> # # <a href='index.html'> # # not: # # Failed test (t/07-errors.link.t at line 65) # # Expected to find no <a> tag(s) matching # # href = (?-xism:.) # # Got # # <a href='http://www.foo.com'> # # <a href='index.html'> # # as expected t/07-errors.link................................NOK 5 # Failed test 'Diagnosing too few links works' # in t/07-errors.link.t at line 85. # STDERR is: # # # Failed test 'Link failure (too few links)' # # in t/07-errors.link.t at line 84. # # Expected to find exactly 3 <a> tag(s) matching # # href = (?-xism:.) # # Got # # <a href='http://www.foo.com'> # # <a href='index.html'> # # not: # # Failed test (t/07-errors.link.t at line 84) # # Expected to find exactly 3 <a> tag(s) matching # # href = (?-xism:.) # # Got # # <a href='http://www.foo.com'> # # <a href='index.html'> # # as expected t/07-errors.link................................NOK 6 # Failed test 'Diagnosing too many links works' # in t/07-errors.link.t at line 107. # STDERR is: # # # Failed test 'Link failure (too many links)' # # in t/07-errors.link.t at line 106. # # Expected to find exactly 3 <a> tag(s) matching # # href = (?-xism:.) # # Got # # <a href='http://www.bar.com'> # # <a href='http://www.dot.com'> # # <a href='http://www.foo.com'> # # <a href='index.html'> # # not: # # Failed test (t/07-errors.link.t at line 106) # # Expected to find exactly 3 <a> tag(s) matching # # href = (?-xism:.) # # Got # # <a href='http://www.bar.com'> # # <a href='http://www.dot.com'> # # <a href='http://www.foo.com'> # # <a href='index.html'> # # as expected t/07-errors.link................................FAILED tests 2-6 Failed 5/6 tests, 16.67% okay t/08-errors.comment.............................NOK 2 # Failed test 'Finding no comment works' # in t/08-errors.comment.t at line 28. # STDERR is: # # # Failed test 'Comment failure (no comments)' # # in t/08-errors.comment.t at line 27. # # No comment found at all # # Expected at least one comment like 'hidden message' # # not: # # Failed test (t/08-errors.comment.t at line 27) # # No comment found at all # # Expected at least one comment like 'hidden message' # # as expected t/08-errors.comment.............................NOK 3 # Failed test 'Finding no comment returns all other comments' # in t/08-errors.comment.t at line 42. # STDERR is: # # # Failed test 'Comment failure (nonmatching comments)' # # in t/08-errors.comment.t at line 40. # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected at least one comment like 'hidden message' # # not: # # Failed test (t/08-errors.comment.t at line 40) # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected at least one comment like 'hidden message' # # as expected t/08-errors.comment.............................NOK 4 # Failed test 'Finding a comment where none should be returns all comments' # in t/08-errors.comment.t at line 55. # STDERR is: # # # Failed test 'Comment failure (two comments that shouldn't exist do)' # # in t/08-errors.comment.t at line 53. # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected no comment like '(?-xism:hidden m.ssage)' # # not: # # Failed test (t/08-errors.comment.t at line 53) # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected no comment like '(?-xism:hidden m.ssage)' # # as expected t/08-errors.comment.............................NOK 5 # Failed test 'Diagnosing too few comments works' # in t/08-errors.comment.t at line 68. # STDERR is: # # # Failed test 'Comment failure (too few comments)' # # in t/08-errors.comment.t at line 66. # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected exactly 3 comments like '(?-xism:hidden m.ssage)' # # not: # # Failed test (t/08-errors.comment.t at line 66) # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected exactly 3 comments like '(?-xism:hidden m.ssage)' # # as expected t/08-errors.comment.............................NOK 6 # Failed test 'Diagnosing too many comments works' # in t/08-errors.comment.t at line 81. # STDERR is: # # # Failed test 'Comment failure (too few comments)' # # in t/08-errors.comment.t at line 79. # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected exactly 1 comments like '(?-xism:hidden m.ssage)' # # not: # # Failed test (t/08-errors.comment.t at line 79) # # Saw '<!-- hidden massage -->' # # Saw '<!-- hidden massage -->' # # Expected exactly 1 comments like '(?-xism:hidden m.ssage)' # # as expected t/08-errors.comment.............................FAILED tests 2-6 Failed 5/6 tests, 16.67% okay t/09-errors.declaration.........................ok t/09-errors.xpath...............................ok 6/7 skipped: Need XPath functionality to test it t/10-errors.text................................NOK 2 # Failed test 'Empty document gets reported' # in t/10-errors.text.t at line 31. # STDERR is: # # # Failed test 'Text failure (empty document)' # # in t/10-errors.text.t at line 22. # # No text found at all # # Expected at least one text element like 'Perl' # # not: # # Failed test (t/10-errors.text.t at line 22) # # No text found at all # # Expected at least one text element like 'Perl' # # as expected t/10-errors.text................................NOK 3 # Failed test 'Empty document gets reported' # in t/10-errors.text.t at line 31. # STDERR is: # # # Failed test 'Text failure (empty document)' # # in t/10-errors.text.t at line 22. # # No text found at all # # Expected at least one text element like 'Perl' # # not: # # Failed test (t/10-errors.text.t at line 22) # # No text found at all # # Expected at least one text element like 'Perl' # # as expected t/10-errors.text................................FAILED tests 2-3 Failed 2/3 tests, 33.33% okay t/12-title-fallback.............................ok 6/13 skipped: XML::LibXML or XML::XPath not loaded t/12-title......................................ok 6/7 skipped: XML::XPath or XML::LibXML is needed for title testing t/13-xpath-gracefull-errors.....................ok 2/4 skipped: XML::XPath or XML::LibXML required t/99-manifest...................................ok t/99-Pod........................................ok t/99-todo.......................................ok t/99-unix-text..................................ok t/embedded-Test-HTML-Content-NoXPath............ok t/embedded-Test-HTML-Content-XPathExtensions....ok t/embedded-Test-HTML-Content....................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------ - t/07-errors.link.t 6 5 83.33% 2-6 t/08-errors.comment.t 6 5 83.33% 2-6 t/10-errors.text.t 3 2 66.67% 2-3 32 subtests skipped. Failed 3/26 test scripts, 88.46% okay. 12/264 subtests failed, 95.45% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK