Checking if your kit is complete... Looks good Writing Makefile for Test::HTML cp HTML.pm blib/lib/Test/HTML.pm Manifying blib/man3/Test::HTML.3 PERL_DL_NONLAZY=1 /Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/0.prerequisites....1..3 ok 1 - use Test::Builder; ok 2 - use HTML::TokeParser; ok 3 - use Test::HTML; ok t/1.internal-api.....1..67 ok 1 - use Test::HTML; ok 2 - match comment(hidden message=~(?-xism:hidden\s+message)) ok 3 - match comment(FOO=~(?i-xsm:foo$)) ok 4 - match comment( FOO=~(?i-xsm:foo$)) ok 5 - match comment(FOO =~(?i-xsm:foo$)) ok 6 - match comment(FOO =~(?i-xsm:^foo$)) ok 7 - match comment( hidden message =~hidden message) ok 8 - match comment( hidden message =~hidden message) ok 9 - dwim compare(foo=~bar) ok 10 - dwim compare(foo=~...) ok 11 - dwim compare(bar=~foo) ok 12 - dwim compare(bar=~barra) ok 13 - dwim compare(barra=~bar) ok 14 - dwim compare(foo=~(?-xism:bar)) ok 15 - dwim compare(foo=~(?-xism:...)) ok 16 - dwim compare(bar=~(?-xism:foo)) ok 17 - dwim compare(bar=~(?-xism:barra)) ok 18 - dwim compare(barra=~(?-xism:bar)) ok 19 - dwim compare(foo=~(?-xism:^oo)) ok 20 - dwim compare(foo=~(?-xism:oo$)) ok 21 - dwim compare(FOO=~(?-xism:foo$)) ok 22 - dwim compare(FOO=~(?i-xsm:foo$)) 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 - count comments(=~foo) ok 31 - count comments(foo=~foo) not ok 32 - count comments(=~foo) # Failed test 'count comments(=~foo)' # at t/1.internal-api.t line 100. # got: 0 # expected: 1 ok 33 - count comments(=~foo) ok 34 - count comments(=~foo) # Failed test 'count comments(=~foo )' not ok 35 - count comments(=~foo ) # at t/1.internal-api.t line 100. # got: 0 # expected: 1 # Failed test 'count comments(=~foo )' # at t/1.internal-api.t line 100. not ok 36 - count comments(=~foo ) # got: 0 # expected: 1 ok 37 - count comments(=~(?-xism:foo)) # Failed test 'count comments(=~foo)' not ok 38 - count comments(=~foo) # at t/1.internal-api.t line 100. # got: 0 # expected: 1 # Failed test 'count comments(=~foo)' not ok 39 - count comments(=~foo) # at t/1.internal-api.t line 100. # got: 0 # expected: 2 not ok 40 - count comments(=~foo) # Failed test 'count comments(=~foo)' # at t/1.internal-api.t line 100. # got: 0 # expected: 3 ok 41 - match(HASH(0x181bb80)=~HASH(0x18439a0)=~href) ok 42 - match(HASH(0x18439c0)=~HASH(0x1843a00)=~alt) ok 43 - match(HASH(0x1843a20)=~HASH(0x1843a60)=~alt) ok 44 - match(HASH(0x1843a90)=~HASH(0x1843ad0)=~href) ok 45 - match(HASH(0x1843b00)=~HASH(0x1843b40)=~href) ok 46 - match(HASH(0x1843b70)=~HASH(0x1843bb0)=~href) ok 47 - match(HASH(0x1843bf0)=~HASH(0x1843c30)=~href) ok 48 - match(HASH(0x1843c90)=~HASH(0x1843cc0)=~href) ok 49 - match(HASH(0x1843d30)=~HASH(0x1843d70)=~href) ok 50 - Counting tags 1 ok 51 - Checking possible candidates ok 52 - Counting tags 2 ok 53 - Checking possible candidates ok 54 - Counting tags 3 ok 55 - Checking possible candidates ok 56 - Counting tags 4 ok 57 - Checking possible candidates ok 58 - Counting tags 6 ok 59 - Checking possible candidates ok 60 - Counting tags 7 ok 61 - Checking possible candidates ok 62 - Counting tags 8 ok 63 - Checking possible candidates ok 64 - Counting tags 9 ok 65 - Checking possible candidates ok 66 - Counting tags 9 ok 67 - Checking possible candidates # Looks like you failed 6 tests of 67. dubious Test returned status 6 (wstat 1536, 0x600) DIED. FAILED tests 32, 35-36, 38-40 Failed 6/67 tests, 91.04% okay t/2.tags.............1..27 ok 1 - use Test::HTML; ok 2 - Single attribute ok 3 - No attributes ok 4 - Undef attributes ok 5 - Single attribute gets counted once ok 6 - Superfluous attributes are ignored ok 7 - Superfluous attributes are ignored and still the matchcount stays ok 8 - Tags that appear twice get reported ok 9 - Tags that appear twice get reported twice ok 10 - Regular expressions for attributes ok 11 - Mixing regular expressions with strings ok 12 - Specifying more than one RE ok 13 - Optional RE ok 14 - Ignored tags ok 15 - Absent tags ok 16 - Misspelled attribute is not found ok 17 - Misspelled attribute is reported zero times ok 18 - Tag with same attribute but different tag is not found ok 19 - Tag with same attribute but different tag is reported zero times ok 20 - Tag with different attribute value is not found ok 21 - Tag with different attribute value is reported zero times ok 22 - Tag within a comment is not found ok 23 - Tag within a comment is reported zero times ok 24 - Tag within a (different) comment is not found ok 25 - Tag within a (different) comment is reported zero times ok 26 - Nonmatching via RE ok 27 - Tag attribute counting ok t/3.links............1..6 ok 1 - use Test::HTML; 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/4.comments.........1..15 ok 1 - use Test::HTML; # Failed test 'Comments are found if there' # at t/4.comments.t line 8. # '0' # > # '0' not ok 2 - Comments are found if there # Failed test 'Whitespace at front' not ok 3 - Whitespace at front # at t/4.comments.t line 10. # '0' # > # '0' # Failed test 'Whitespace at front and end' # at t/4.comments.t line 12. not ok 4 - Whitespace at front and end # '0' # > # '0' # Failed test 'Whitespace at end' not ok 5 - Whitespace at end # at t/4.comments.t line 14. # '0' # > # '0' # Failed test 'Whitespace at HTML front' not ok 6 - Whitespace at HTML front # at t/4.comments.t line 16. # '0' # > # '0' # Failed test 'Whitespace at HTML end' # at t/4.comments.t line 18. not ok 7 - Whitespace at HTML end # '0' # > # '0' ok 8 - RE over comments # Failed test 'Comments are found if there' not ok 9 - Comments are found if there # at t/4.comments.t line 23. # '0' # > # '0' # Failed test 'Comments are found if there' not ok 10 - Comments are found if there # at t/4.comments.t line 25. # got: 0 # expected: 1 # Failed test 'Comments are counted correctly' # at t/4.comments.t line 26. not ok 11 - Comments are counted correctly # got: 0 # expected: 2 ok 12 - RE-Comments are counted correctly ok 13 - Comments are not found if not there ok 14 - Comments are not found if not there ok 15 - RE-Comments are found correctly # Looks like you failed 9 tests of 15. dubious Test returned status 9 (wstat 2304, 0x900) DIED. FAILED tests 2-7, 9-11 Failed 9/15 tests, 40.00% okay t/5.doctype..........1..5 ok 1 - use Test::HTML; # Failed test 'Doctype 3.2' # at t/5.doctype.t line 8. not ok 2 - Doctype 3.2 # Saw '' # Expected something like 'DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"' ok 3 - Doctype via RE ok 4 - Doctype via other RE ok 5 - Doctype via other RE # Looks like you failed 1 test of 5. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 2 Failed 1/5 tests, 80.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/1.internal-api.t 6 1536 67 6 32 35-36 38-40 t/4.comments.t 9 2304 15 9 2-7 9-11 t/5.doctype.t 1 256 5 1 2 Failed 3/6 test scripts. 16/123 subtests failed. Files=6, Tests=123, 1 wallclock secs ( 0.52 cusr + 0.15 csys = 0.67 CPU) Failed 3/6 test programs. 16/123 subtests failed. make: *** [test_dynamic] Error 1