Test::Inline is nice for testing the examples, but not necessary Checking if your kit is complete... Looks good Writing Makefile for Test::HTML::Content cp lib/Test/HTML/Content/XPathExtensions.pm blib/lib/Test/HTML/Content/XPathExtensions.pm cp lib/Test/HTML/Content.pm blib/lib/Test/HTML/Content.pm cp lib/Test/HTML/Content/NoXPath.pm blib/lib/Test/HTML/Content/NoXPath.pm Manifying blib/man3/Test::HTML::Content::XPathExtensions.3 Manifying blib/man3/Test::HTML::Content.3 Manifying blib/man3/Test::HTML::Content::NoXPath.3 PERL_DL_NONLAZY=1 /home/cpanrun/pa-risc1.1/build/5.6.1/bin/perl -Iblib/arch -Iblib/lib -I/home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/PA-RISC1.1-thread-multi -I/home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t t/00-prerequisites..............................1..3 ok 1 - use Test::Builder; ok 2 - use HTML::TokeParser; ok 3 - use Test::HTML::Content; ok t/01-fallback-libxml............................1..4 ok 1 # skip Need Test::Without::Module to test the fallback ok 2 # skip Need Test::Without::Module to test the fallback ok 3 # skip Need Test::Without::Module to test the fallback ok 4 # skip Need Test::Without::Module to test the fallback ok 4/4 skipped: Need Test::Without::Module to test the fallback t/01-fallback-pureperl..........................1..4 ok 1 # skip Need Test::Without::Module to test the fallback ok 2 # skip Need Test::Without::Module to test the fallback ok 3 # skip Need Test::Without::Module to test the fallback ok 4 # skip Need Test::Without::Module to test the fallback ok 4/4 skipped: Need Test::Without::Module to test the fallback t/01-fallback-xpath.............................1..4 ok 1 # skip Need Test::Without::Module to test the fallback ok 2 # skip Need Test::Without::Module to test the fallback ok 3 # skip Need Test::Without::Module to test the fallback ok 4 # skip Need Test::Without::Module to test the fallback ok 4/4 skipped: Need Test::Without::Module to test the fallback t/01-internal-api...............................1..99 ok 1 - use Test::HTML::Content; ok 2 - dwim compare(foo=~bar) ok 3 - dwim compare(foo=~...) ok 4 - dwim compare(bar=~foo) ok 5 - dwim compare(bar=~barra) ok 6 - dwim compare(barra=~bar) ok 7 - dwim compare(foo=~(?-xism:bar)) ok 8 - dwim compare(foo=~(?-xism:...)) ok 9 - dwim compare(bar=~(?-xism:foo)) ok 10 - dwim compare(bar=~(?-xism:barra)) ok 11 - dwim compare(barra=~(?-xism:bar)) ok 12 - dwim compare(foo=~(?-xism:^oo)) ok 13 - dwim compare(foo=~(?-xism:oo$)) ok 14 - dwim compare(FOO=~(?-xism:foo$)) ok 15 - dwim compare(FOO=~(?i-xsm:foo$)) ok 16 - match comment(hidden message=~(?-xism:hidden\s+message)) ok 17 - match comment(FOO=~(?i-xsm:foo$)) ok 18 - match comment( FOO=~(?i-xsm:foo$)) ok 19 - match comment(FOO =~(?i-xsm:foo$)) ok 20 - match comment(FOO =~(?i-xsm:^foo$)) ok 21 - match comment( hidden message =~hidden message) ok 22 - match comment( hidden message =~hidden message) ok 23 - match declaration(hidden message=~(?-xism:hidden\s+message)) ok 24 - match declaration(FOO=~(?i-xsm:foo$)) ok 25 - match declaration( FOO=~(?i-xsm:foo$)) ok 26 - match declaration(FOO =~(?i-xsm:foo$)) ok 27 - match declaration(FOO =~(?i-xsm:^foo$)) ok 28 - match declaration( hidden message =~hidden message) ok 29 - match declaration( hidden message =~hidden message) ok 30 - match text(hidden message=~(?-xism:hidden\s+message)) ok 31 - match text(FOO=~(?i-xsm:foo$)) ok 32 - match text( FOO=~(?i-xsm:foo$)) ok 33 - match text(FOO =~(?i-xsm:foo$)) ok 34 - match text(FOO =~(?i-xsm:^foo$)) ok 35 - match text( hidden message =~hidden message) ok 36 - match text( hidden message =~hidden message) ok 37 - match(HASH(0x40590820)=~HASH(0x40594e44)=~href) ok 38 - match(HASH(0x40594f7c)=~HASH(0x40594fac)=~alt) ok 39 - match(HASH(0x40595ef0)=~HASH(0x40595f20)=~alt) ok 40 - match(HASH(0x40595f44)=~HASH(0x40595f74)=~href) ok 41 - match(HASH(0x40595f98)=~HASH(0x40595fc8)=~href) ok 42 - match(HASH(0x40595fec)=~HASH(0x4059601c)=~href) ok 43 - match(HASH(0x4059604c)=~HASH(0x4059607c)=~href) ok 44 - match(HASH(0x405960b8)=~HASH(0x405960dc)=~href) ok 45 - match(HASH(0x40596124)=~HASH(0x40596154)=~href) ok 46 - Counting tags 1 ok 47 - Checking possible candidates ok 48 - Counting tags 2 ok 49 - Checking possible candidates ok 50 - Counting tags 3 ok 51 - Checking possible candidates ok 52 - Counting tags 4 ok 53 - Checking possible candidates ok 54 - Counting tags 6 ok 55 - Checking possible candidates ok 56 - Counting tags 7 ok 57 - Checking possible candidates ok 58 - Counting tags 8 ok 59 - Checking possible candidates ok 60 - Counting tags 9 ok 61 - Checking possible candidates ok 62 - Counting tags 10 ok 63 - Checking possible candidates ok 64 - Counting comments 0 ok 65 - Counting possible candidates 0 ok 66 - Counting comments 1 ok 67 - Counting possible candidates 1 ok 68 - Counting comments 2 ok 69 - Counting possible candidates 2 ok 70 - Counting comments 3 ok 71 - Counting possible candidates 3 ok 72 - Counting comments 4 ok 73 - Counting possible candidates 4 ok 74 - Counting comments 5 ok 75 - Counting possible candidates 5 ok 76 - Counting comments 6 ok 77 - Counting possible candidates 6 ok 78 - Counting comments 7 ok 79 - Counting possible candidates 7 ok 80 - Counting comments 8 ok 81 - Counting possible candidates 8 ok 82 - Counting comments 9 ok 83 - Counting possible candidates 9 ok 84 - Counting comments 10 ok 85 - Counting possible candidates 10 ok 86 - Counting comments 11 ok 87 - Counting possible candidates 11 ok 88 - Counting text occurrences 0 ok 89 - Counting possible candidates 0 ok 90 - counting text occurrences 1 ok 91 - Counting possible candidates 1 ok 92 - counting text occurrences 2 ok 93 - Counting possible candidates 2 ok 94 - counting text occurrences 4 ok 95 - Counting possible candidates 4 ok 96 - counting text occurrences 5 ok 97 - Counting possible candidates 5 ok 98 - Checking RE for text 6 ok 99 - Counting possible candidates 6 ok t/01-xpath-query-builder........................1..5 ok 1 - use Test::HTML::Content; ok 2 - //tag[@alt = "foo" and @href = "http://www.perl.com"] ok 3 - //tag[@alt = "foo" and @href] ok 4 - //tag[not(@alt) and @href] ok 5 - //tag2[not(@alt) and @href] ok t/02-tags.......................................1..33 ok 1 - use Test::HTML::Content; ok 2 - Single attribute ok 3 - Uppercase query finds lowercase tag ok 4 - Lowercase query finds uppercase tag ok 5 - Uppercase query finds uppercase tag ok 6 - Lowercase query finds lowercase tag ok 7 - No attributes ok 8 - Undef attributes ok 9 - Forgotten attributes ok 10 - Single attribute gets counted once ok 11 - Superfluous attributes are ignored ok 12 - Superfluous attributes are ignored and still the matchcount stays ok 13 - Tags that appear twice get reported ok 14 - Tags that appear twice get reported twice ok 15 - Plain strings get matched exactly ok 16 - Regular expressions for attributes ok 17 - Mixing regular expressions with strings ok 18 - Specifying more than one RE ok 19 - Optional RE ok 20 - Ignored tags ok 21 - Absent tags ok 22 - Misspelled attribute is not found ok 23 - Misspelled attribute is reported zero times ok 24 - Tag with same attribute but different tag is not found ok 25 - Tag with same attribute but different tag is reported zero times ok 26 - Tag with different attribute value is not found ok 27 - Tag with different attribute value is reported zero times ok 28 - Tag within a comment is not found ok 29 - Tag within a comment is reported zero times ok 30 - Tag within a (different) comment is not found ok 31 - Tag within a (different) comment is reported zero times ok 32 - Nonmatching via RE ok 33 - Tag attribute counting ok t/03-links......................................1..6 ok 1 - use Test::HTML::Content; ok 2 - Simple non-existing link ok 3 - Plain text gets not interpreted as link ok 4 - A link is found ok 5 - A link that appears twice is reported twice ok 6 - Links are not found if commented out ok t/04-comments...................................1..17 ok 1 - use Test::HTML::Content; ok 2 - use Test::HTML::Content; ok 3 - Comments are found if there ok 4 - Whitespace at front ok 5 - Whitespace at front and end ok 6 - Whitespace at end ok 7 - Whitespace at HTML front ok 8 - Whitespace at HTML end ok 9 - RE over comments ok 10 - Comments are found if there ok 11 - Comments are found if there ok 12 - Comments are counted correctly ok 13 - RE-Comments are counted correctly ok 14 - Comments are not found if not there ok 15 - Comments are not found if not there ok 16 - RE-Comments are found correctly ok 17 - RE-Comments not stringified ok t/05-doctype....................................1..6 ok 1 - use Test::HTML::Content; ok 2 - use Test::HTML::Content; ok 3 - Doctype 3.2 ok 4 - Doctype via RE ok 5 - Doctype via other RE ok 6 - Doctype via other RE ok t/06-text.......................................1..12 ok 1 - use Test::HTML::Content; ok 2 - REs for text work ok 3 - Counting text elements works ok 4 - Negation works as well ok 5 - Negation also works with REs ok 6 - Complete elements are matched ok 7 - Complete elements are matched with whitespace at the ends ok 8 - Counting elements works with REs ok 9 - Counting elements works with REs ok 10 - No stringification of REs in no_text() ok 11 - No stringification of REs in text_count() ok 12 - Text is not broken up ok t/07-errors.link................................1..6 ok 1 - use Test::HTML::Content; ok 2 - Finding no link works ok 3 - Finding no link returns all other links ok 4 - Finding a link where one should be returns all other links ok 5 - Diagnosing too few links works ok 6 - Diagnosing too many links works ok t/08-errors.comment.............................Can't declare another package's variables at t/08-errors.comment.t line 5 BEGIN failed--compilation aborted at t/08-errors.comment.t line 5. dubious Test returned status 255 (wstat 65280, 0xff00) t/09-errors.declaration.........................1..1 ok 1 - use Test::HTML::Content; ok t/09-errors.xpath...............................1..7 ok 1 - use Test::HTML::Content; ok 2 # skip Need XPath functionality to test it ok 3 # skip Need XPath functionality to test it ok 4 # skip Need XPath functionality to test it ok 5 # skip Need XPath functionality to test it ok 6 # skip Need XPath functionality to test it ok 7 # skip Need XPath functionality to test it ok 6/7 skipped: Need XPath functionality to test it t/10-errors.text................................1..3 ok 1 - use Test::HTML::Content; ok 2 - Empty document gets reported ok 3 - Empty document gets reported ok t/12-title-fallback.............................1..13 ok 1 - use Test::HTML::Content; ok 2 # skip XML::LibXML or XML::XPath not loaded ok 3 - Gracefull title fallback (title_ok) ok 4 # skip XML::LibXML or XML::XPath not loaded ok 5 - Gracefull title fallback (title_ok) ok 6 # skip XML::LibXML or XML::XPath not loaded ok 7 - Gracefull title fallback (title_ok) ok 8 # skip XML::LibXML or XML::XPath not loaded ok 9 - Gracefull title fallback (title_ok) ok 10 # skip XML::LibXML or XML::XPath not loaded ok 11 - Gracefull title fallback (no_title) ok 12 # skip XML::LibXML or XML::XPath not loaded ok 13 - Gracefull title fallback (no_title) ok 6/13 skipped: XML::LibXML or XML::XPath not loaded t/12-title......................................1..7 ok 1 - use Test::HTML::Content; ok 2 # skip XML::XPath or XML::LibXML is needed for title testing ok 3 # skip XML::XPath or XML::LibXML is needed for title testing ok 4 # skip XML::XPath or XML::LibXML is needed for title testing ok 5 # skip XML::XPath or XML::LibXML is needed for title testing ok 6 # skip XML::XPath or XML::LibXML is needed for title testing ok 7 # skip XML::XPath or XML::LibXML is needed for title testing ok 6/7 skipped: XML::XPath or XML::LibXML is needed for title testing t/13-xpath-gracefull-errors.....................1..4 ok 1 - use Test::HTML::Content; ok 2 - use Test::HTML::Content; ok 3 # skip XML::XPath or XML::LibXML required ok 4 # skip XML::XPath or XML::LibXML required ok 2/4 skipped: XML::XPath or XML::LibXML required t/99-Pod........................................1..0 # Skip Test::Pod required for testing POD skipped all skipped: Test::Pod required for testing POD t/99-manifest...................................1..8 ok 1 - MANIFEST exists ok 2 - No empty lines in MANIFEST ok 3 - No whitespace-only lines in MANIFEST ok 4 - No trailing whitespace on lines in MANIFEST ok 5 - MANIFEST.skip exists ok 6 - No empty lines in MANIFEST.skip ok 7 - No whitespace-only lines in MANIFEST.skip ok 8 - No trailing whitespace on lines in MANIFEST.skip ok t/99-todo.......................................1..3 ok 1 - Looking for XXXes in blib/lib/Test/HTML/Content.pm ok 2 - Looking for XXXes in blib/lib/Test/HTML/Content/XPathExtensions.pm ok 3 - Looking for XXXes in blib/lib/Test/HTML/Content/NoXPath.pm ok t/99-unix-text..................................1..7 ok 1 - 'blib/lib/Test/HTML/Content.pm' contains no windows newlines ok 2 - 'blib/lib/Test/HTML/Content/XPathExtensions.pm' contains no windows newlines ok 3 - 'blib/lib/Test/HTML/Content/NoXPath.pm' contains no windows newlines ok 4 - 't/testlib.pm' contains no windows newlines ok 5 - 'lib/Test/HTML/Content.pm' contains no windows newlines ok 6 - 'lib/Test/HTML/Content/NoXPath.pm' contains no windows newlines ok 7 - 'lib/Test/HTML/Content/XPathExtensions.pm' contains no windows newlines ok t/embedded-Test-HTML-Content-NoXPath............ok 1 - example from line 195 1..1 ok t/embedded-Test-HTML-Content-XPathExtensions....ok 1 - example from line 58 1..1 ok t/embedded-Test-HTML-Content....................ok 1 - example from line 598 1..1 ok Failed 1/26 test scripts, 96.15% okay. 0/255 subtests failed, 100.00% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- t/08-errors.comment.t 255 65280 ?? ?? % ?? 1 test and 32 subtests skipped. make: *** [test_dynamic] Error 11