PATH=/opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2013-04-22T10:16:15 ActivePerl-1402 CPAN-1.9800 Reading '/export/home/fly1432/var/cpan/Metadata' Database was generated on Mon, 22 Apr 2013 16:07:45 GMT Running make for T/TO/TOKUHIROM/Web-Query-0.16.tar.gz Checksum for /net/nas/data/cpan/authors/id/T/TO/TOKUHIROM/Web-Query-0.16.tar.gz ok Web-Query-0.16/Build.PL Web-Query-0.16/Changes Web-Query-0.16/LICENSE Web-Query-0.16/META.json Web-Query-0.16/README.md Web-Query-0.16/cpanfile Web-Query-0.16/lib/Web/Query.pm Web-Query-0.16/t/00_compile.t Web-Query-0.16/t/01_src.t Web-Query-0.16/t/02_op.t Web-Query-0.16/t/03_traverse.t Web-Query-0.16/t/04_element.t Web-Query-0.16/t/05_html5.t Web-Query-0.16/t/06_new_from_url_error_handling.t Web-Query-0.16/t/07_remove.t Web-Query-0.16/t/08_indent.t Web-Query-0.16/t/09_as_html.t Web-Query-0.16/t/10_subclass.t Web-Query-0.16/t/add_class.t Web-Query-0.16/t/after.t Web-Query-0.16/t/append.t Web-Query-0.16/t/before.t Web-Query-0.16/t/clone.t Web-Query-0.16/t/data/foo.html Web-Query-0.16/t/data/html5_snippet.html Web-Query-0.16/t/detach.t Web-Query-0.16/t/find.t Web-Query-0.16/t/has_class.t Web-Query-0.16/t/insert_after.t Web-Query-0.16/t/insert_before.t Web-Query-0.16/t/lib/My/TreeBuilder.pm Web-Query-0.16/t/lib/My/Web/Query.pm Web-Query-0.16/t/prepend.t Web-Query-0.16/t/remove_class.t Web-Query-0.16/t/replace_with.t Web-Query-0.16/t/store_comments.t Web-Query-0.16/xt/02_perlcritic.t Web-Query-0.16/xt/live/01_simple.t Web-Query-0.16/META.yml Web-Query-0.16/MANIFEST CPAN.pm: Building T/TO/TOKUHIROM/Web-Query-0.16.tar.gz >>> /export/home/fly1432/bin/perl Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Web-Query' version '0.16' Merging cpanfile prereqs to MYMETA.yml Merging cpanfile prereqs to MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- TOKUHIROM/Web-Query-0.16.tar.gz ---- HTML::TreeBuilder::XPath [requires] HTML::Selector::XPath [requires] Running Build test Delayed until after prerequisites Running test for module 'HTML::TreeBuilder::XPath' Running make for M/MI/MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz Checksum for /net/nas/data/cpan/authors/id/M/MI/MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz ok HTML-TreeBuilder-XPath-0.14/ HTML-TreeBuilder-XPath-0.14/MANIFEST HTML-TreeBuilder-XPath-0.14/lib/ HTML-TreeBuilder-XPath-0.14/lib/HTML/ HTML-TreeBuilder-XPath-0.14/lib/HTML/TreeBuilder/ HTML-TreeBuilder-XPath-0.14/lib/HTML/TreeBuilder/XPath.pm HTML-TreeBuilder-XPath-0.14/t/ HTML-TreeBuilder-XPath-0.14/t/pod.t HTML-TreeBuilder-XPath-0.14/t/test_following.t HTML-TreeBuilder-XPath-0.14/t/pod_coverage.t HTML-TreeBuilder-XPath-0.14/t/HTML-TreeBuilder-XPath.t HTML-TreeBuilder-XPath-0.14/t/test_preceding.t HTML-TreeBuilder-XPath-0.14/Makefile.PL HTML-TreeBuilder-XPath-0.14/Changes HTML-TreeBuilder-XPath-0.14/README HTML-TreeBuilder-XPath-0.14/META.yml HTML-TreeBuilder-XPath-0.14/META.json CPAN.pm: Building M/MI/MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz >>> /export/home/fly1432/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for HTML::TreeBuilder::XPath Writing MYMETA.yml and MYMETA.json ---- Unsatisfied dependencies detected during ---- ---- MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz ---- XML::XPathEngine [requires] Running make test Delayed until after prerequisites Running test for module 'XML::XPathEngine' Running make for M/MI/MIROD/XML-XPathEngine-0.13.tar.gz Checksum for /net/nas/data/cpan/authors/id/M/MI/MIROD/XML-XPathEngine-0.13.tar.gz ok XML-XPathEngine-0.13/ XML-XPathEngine-0.13/MANIFEST XML-XPathEngine-0.13/lib/ XML-XPathEngine-0.13/lib/XML/ XML-XPathEngine-0.13/lib/XML/XPathEngine.pm XML-XPathEngine-0.13/lib/XML/XPathEngine/ XML-XPathEngine-0.13/lib/XML/XPathEngine/NodeSet.pm XML-XPathEngine-0.13/lib/XML/XPathEngine/Step.pm XML-XPathEngine-0.13/lib/XML/XPathEngine/Root.pm XML-XPathEngine-0.13/lib/XML/XPathEngine/Variable.pm XML-XPathEngine-0.13/lib/XML/XPathEngine/Expr.pm XML-XPathEngine-0.13/lib/XML/XPathEngine/Function.pm XML-XPathEngine-0.13/lib/XML/XPathEngine/Number.pm XML-XPathEngine-0.13/lib/XML/XPathEngine/Boolean.pm XML-XPathEngine-0.13/lib/XML/XPathEngine/LocationPath.pm XML-XPathEngine-0.13/lib/XML/XPathEngine/Literal.pm XML-XPathEngine-0.13/t/ XML-XPathEngine-0.13/t/00-load.t XML-XPathEngine-0.13/t/pod.t XML-XPathEngine-0.13/t/minitree.pm XML-XPathEngine-0.13/t/minidom.pm XML-XPathEngine-0.13/t/pod-coverage.t XML-XPathEngine-0.13/t/01_basic.t XML-XPathEngine-0.13/Makefile.PL XML-XPathEngine-0.13/Changes XML-XPathEngine-0.13/README XML-XPathEngine-0.13/META.yml XML-XPathEngine-0.13/META.json CPAN.pm: Building M/MI/MIROD/XML-XPathEngine-0.13.tar.gz >>> /export/home/fly1432/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for XML::XPathEngine Writing MYMETA.yml and MYMETA.json >>> make cp lib/XML/XPathEngine/Literal.pm blib/lib/XML/XPathEngine/Literal.pm cp lib/XML/XPathEngine/Number.pm blib/lib/XML/XPathEngine/Number.pm cp lib/XML/XPathEngine.pm blib/lib/XML/XPathEngine.pm cp lib/XML/XPathEngine/Expr.pm blib/lib/XML/XPathEngine/Expr.pm cp lib/XML/XPathEngine/NodeSet.pm blib/lib/XML/XPathEngine/NodeSet.pm cp lib/XML/XPathEngine/Variable.pm blib/lib/XML/XPathEngine/Variable.pm cp lib/XML/XPathEngine/Root.pm blib/lib/XML/XPathEngine/Root.pm cp lib/XML/XPathEngine/Function.pm blib/lib/XML/XPathEngine/Function.pm cp lib/XML/XPathEngine/Boolean.pm blib/lib/XML/XPathEngine/Boolean.pm cp lib/XML/XPathEngine/Step.pm blib/lib/XML/XPathEngine/Step.pm cp lib/XML/XPathEngine/LocationPath.pm blib/lib/XML/XPathEngine/LocationPath.pm Manifying blib/man3/XML::XPathEngine::Literal.3 Manifying blib/man3/XML::XPathEngine::Number.3 Manifying blib/man3/XML::XPathEngine::NodeSet.3 Manifying blib/man3/XML::XPathEngine.3 Manifying blib/man3/XML::XPathEngine::Boolean.3 MIROD/XML-XPathEngine-0.13.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly1432/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # Testing XML::XPathEngine 0.13, Perl 5.014002, /usr/bin/perl t/00-load.t ....... 1..1 ok 1 - use XML::XPathEngine; ok t/01_basic.t ...... ok 1 - findnodes( '/root', $tree) ok 2 - findnodes( '/root/kid0', $tree) ok 3 - findvalue( '/root/kid0', $tree) ok 4 - findvalue( '//*[@att2="vv"]', $tree) ok 5 - findvalue( '//*[@att2]', $tree) ok 6 - match on attributes ok 7 - match all attributes ok 8 - match all attributes with a test ok 9 - following axis[1] ok 10 - following axis[2] ok 11 - following axis ok 12 - preceding axis[1] ok 13 - preceding axis[1] ok 14 - preceding axis ok 15 - count( //gkid1) ok 16 - count( //gkid2) ok 17 - count() in expression (count(//kid1)=count(//gkid1)) ok 18 - count() in expression (returns 0) ok 19 - count() in expression (returns 1) ok 20 - count() in expression (root/*[count( ./gkid0) = 1]) ok 21 - count with and ok 22 - count with and ok 23 - count with or ok 24 - (descendant::*)[2] ok 25 - following axis[1] ok 26 - following axis[2] ok 27 - id() ok 28 - substring-after ok 29 - id descendants attribute ok 30 - grouped id descendants attribute ok 31 - substring-after(id()) ok 32 - findvalues match on attributes ok 33 - findvalues on attributes ok 34 - findvalues on a litteral ok 35 - findvalues on a litteral ok 36 - children axis from a litteral ok 37 - parent axis from a litteral ok 38 - attribute axis from a litteral 1..38 ok t/pod-coverage.t .. 1..1 ok 1 - Pod coverage on XML::XPathEngine ok t/pod.t ........... 1..11 ok 1 - POD test for blib/lib/XML/XPathEngine.pm ok 2 - POD test for blib/lib/XML/XPathEngine/Literal.pm ok 3 - POD test for blib/lib/XML/XPathEngine/Number.pm ok 4 - POD test for blib/lib/XML/XPathEngine/Expr.pm (no pod) ok 5 - POD test for blib/lib/XML/XPathEngine/NodeSet.pm ok 6 - POD test for blib/lib/XML/XPathEngine/Variable.pm (no pod) ok 7 - POD test for blib/lib/XML/XPathEngine/Root.pm (no pod) ok 8 - POD test for blib/lib/XML/XPathEngine/Function.pm (no pod) ok 9 - POD test for blib/lib/XML/XPathEngine/Boolean.pm ok 10 - POD test for blib/lib/XML/XPathEngine/Step.pm (no pod) ok 11 - POD test for blib/lib/XML/XPathEngine/LocationPath.pm (no pod) ok All tests successful. Files=4, Tests=51, 2 wallclock secs ( 0.10 usr 0.03 sys + 1.36 cusr 0.14 csys = 1.63 CPU) Result: PASS MIROD/XML-XPathEngine-0.13.tar.gz make test TEST_VERBOSE=1 -- OK PPD for XML-XPathEngine-0.13 already made Running make for M/MI/MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz Prepending /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/arch /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA Prepending /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/arch /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/lib to PERL5LIB for 'make' CPAN.pm: Building M/MI/MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz Warning: Prerequisite 'XML::XPathEngine => 0.12' for 'MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz' already built but the result looks suspicious. Skipping another build attempt, to prevent looping endlessly. >>> make cp lib/HTML/TreeBuilder/XPath.pm blib/lib/HTML/TreeBuilder/XPath.pm Manifying blib/man3/HTML::TreeBuilder::XPath.3 MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz make -- OK Prepending /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/arch /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly1432/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/HTML-TreeBuilder-XPath.t .. 1..29 ok 1 - use HTML::TreeBuilder::XPath; ok 2 - attribute value ok 3 - element text ok 4 - [1] ok 5 - attribute ok 6 - text node ok 7 - 2 atts on same element ok 8 - 2 atts on same element ok 9 - 2 atts on same element (unsorted) ok 10 - 2 texts ok 11 - 2 texts with findvalues ok 12 - 2 texts with findnodes_as_strings ok 13 - 2 texts with findvalues ok 14 - 2 texts with findnodes_as_strings ok 15 - 2 siblings ok 16 - 2 siblings ok 17 - query on various types of nodes ok 18 - one child has a value of "0" ok 19 - query on siblings of an element ok 20 - query on siblings of an element (ordered) ok 21 - query on siblings of an element (not ordered) ok 22 - id function ok 23 - id function (attribute) ok 24 - fake root does not have a parent ok 25 - fake root is its own root ok 26 - fake root has no attributes ok 27 - fake root does not have a name ok 28 - fake root does not have a next sibling ok 29 - fake root does not have a prev sibling ok t/pod.t ..................... 1..1 ok 1 - POD test for blib/lib/HTML/TreeBuilder/XPath.pm ok t/pod_coverage.t ............ 1..1 ok 1 - Pod coverage on HTML::TreeBuilder::XPath ok t/test_following.t .......... 1..47 ok 1 - HTML::TreeBuilder: //p[@class="c1"] (p1p2) ok 2 - HTML::TreeBuilder: //p[@class="c1"]/following::p[1] (f1f2) ok 3 - HTML::TreeBuilder: //body/descendant::p[1] (p1) ok 4 - HTML::TreeBuilder: //body/descendant::p[2] (f1) ok 5 - HTML::TreeBuilder: //body/descendant::p[3] (p2) ok 6 - HTML::TreeBuilder: //body/descendant::p[4] (f2) ok 7 - HTML::TreeBuilder: //body/descendant::p[5] (f3) ok 8 - HTML::TreeBuilder: //body/descendant::p[6] () ok 9 - HTML::TreeBuilder: //body/p[1] (p1) ok 10 - HTML::TreeBuilder: //body/p[2] (f1) ok 11 - HTML::TreeBuilder: //body/p[3] (p2) ok 12 - HTML::TreeBuilder: //body/p[4] (f2) ok 13 - HTML::TreeBuilder: //body/p[5] (f3) ok 14 - HTML::TreeBuilder: //body/p[6] () ok 15 - HTML::TreeBuilder: //body//p[1] (p1) ok 16 - HTML::TreeBuilder: //body//p[2] (f1) ok 17 - HTML::TreeBuilder: //body//p[3] (p2) ok 18 - HTML::TreeBuilder: //body//p[4] (f2) ok 19 - HTML::TreeBuilder: //body//p[5] (f3) ok 20 - HTML::TreeBuilder: //body//p[6] () ok 21 - HTML::TreeBuilder: //p[1] (p1) ok 22 - HTML::TreeBuilder: //p[2] (f1) ok 23 - HTML::TreeBuilder: //p[3] (p2) ok 24 - HTML::TreeBuilder: //p[4] (f2) ok 25 - HTML::TreeBuilder: //p[5] (f3) ok 26 - HTML::TreeBuilder: //p[6] () ok 27 - HTML::TreeBuilder: //a/following::p (p1f1p2f2f3) ok 28 - HTML::TreeBuilder: //p[@class="c1"][1] (p1) ok 29 - HTML::TreeBuilder: //p[@class="c1"][2] (p2) ok 30 - HTML::TreeBuilder: //a/following::p[1] (p1) ok 31 - HTML::TreeBuilder: //a/following::p[2] (f1) ok 32 - HTML::TreeBuilder: //a/following::p[3] (p2) ok 33 - HTML::TreeBuilder: //a/following::p[4] (f2) ok 34 - HTML::TreeBuilder: //a/following::p[5] (f3) ok 35 - HTML::TreeBuilder: //p[@id="ip1"]/following::p[1] (f1) ok 36 - HTML::TreeBuilder: //p[@id="ip1"][1]/following::p[1] (f1) ok 37 - HTML::TreeBuilder: //p[@id="ip1"][1]/following::p[2] (p2) ok 38 - HTML::TreeBuilder: //p[@id="ip1"][1]/following::p[3] (f2) ok 39 - HTML::TreeBuilder: //p[@id="ip1"][1]/following::p[4] (f3) ok 40 - HTML::TreeBuilder: //p[@id="ip3"]/following::p[1] (f2) ok 41 - HTML::TreeBuilder: //p[@id="ip3"]/following::p[2] (f3) ok 42 - HTML::TreeBuilder: //p[@class="c1"][1]/following::p[1] (f1) ok 43 - HTML::TreeBuilder: //p[@class="c1"][1]/following::p[2] (p2) ok 44 - HTML::TreeBuilder: //p[@class="c1"][1]/following::p[3] (f2) ok 45 - HTML::TreeBuilder: //p[@class="c1"][1]/following::p[4] (f3) ok 46 - HTML::TreeBuilder: //p[@class="c1"][2]/following::p[1] (f2) ok 47 - HTML::TreeBuilder: //p[@class="c1"][2]/following::p[2] (f3) ok t/test_preceding.t .......... 1..3 ok 1 - HTML::TreeBuilder: //p[@class="c1"][2]/preceding::p[1] (f1) ok 2 - HTML::TreeBuilder: //p[@class="c1"][2]/preceding::p[2] (p1) ok 3 - HTML::TreeBuilder: //p[@class="c1"][2]/preceding::p (p1f1) ok All tests successful. Files=5, Tests=81, 2 wallclock secs ( 0.12 usr 0.03 sys + 1.99 cusr 0.21 csys = 2.35 CPU) Result: PASS MIROD/HTML-TreeBuilder-XPath-0.14.tar.gz make test TEST_VERBOSE=1 -- OK PPD for HTML-TreeBuilder-XPath-0.14 already made Running test for module 'HTML::Selector::XPath' Running make for C/CO/CORION/HTML-Selector-XPath-0.15.tar.gz Prepending /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/arch /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/lib /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/arch /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/lib to PERL5LIB for 'get' Checksum for /net/nas/data/cpan/authors/id/C/CO/CORION/HTML-Selector-XPath-0.15.tar.gz ok HTML-Selector-XPath-0.15/ HTML-Selector-XPath-0.15/MANIFEST HTML-Selector-XPath-0.15/Changes HTML-Selector-XPath-0.15/README HTML-Selector-XPath-0.15/inc/ HTML-Selector-XPath-0.15/inc/Module/ HTML-Selector-XPath-0.15/inc/Module/Install/ HTML-Selector-XPath-0.15/inc/Module/Install/Metadata.pm HTML-Selector-XPath-0.15/inc/Module/Install/WriteAll.pm HTML-Selector-XPath-0.15/inc/Module/Install/Win32.pm HTML-Selector-XPath-0.15/inc/Module/Install/Can.pm HTML-Selector-XPath-0.15/inc/Module/Install/Fetch.pm HTML-Selector-XPath-0.15/inc/Module/Install/Base.pm HTML-Selector-XPath-0.15/inc/Module/Install/Makefile.pm HTML-Selector-XPath-0.15/inc/Module/Install.pm HTML-Selector-XPath-0.15/Makefile.PL HTML-Selector-XPath-0.15/META.yml HTML-Selector-XPath-0.15/t/ HTML-Selector-XPath-0.15/t/02_html.t HTML-Selector-XPath-0.15/t/03_xpath_root.t HTML-Selector-XPath-0.15/t/01_xpath.t HTML-Selector-XPath-0.15/t/99_pod.t HTML-Selector-XPath-0.15/t/00_compile.t HTML-Selector-XPath-0.15/t/04_subclass.t HTML-Selector-XPath-0.15/t/05_xpath_prefix.t HTML-Selector-XPath-0.15/lib/ HTML-Selector-XPath-0.15/lib/HTML/ HTML-Selector-XPath-0.15/lib/HTML/Selector/ HTML-Selector-XPath-0.15/lib/HTML/Selector/XPath.pm Prepending /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/arch /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/lib /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/arch /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/lib to PERL5LIB for 'make' CPAN.pm: Building C/CO/CORION/HTML-Selector-XPath-0.15.tar.gz >>> /export/home/fly1432/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for HTML::Selector::XPath Writing MYMETA.yml and MYMETA.json >>> make cp lib/HTML/Selector/XPath.pm blib/lib/HTML/Selector/XPath.pm Manifying blib/man3/HTML::Selector::XPath.3 CORION/HTML-Selector-XPath-0.15.tar.gz make -- OK Prepending /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/arch /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/lib /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/arch /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/lib to PERL5LIB for 'test' Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly1432/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00_compile.t ....... 1..1 ok 1 - use HTML::Selector::XPath; ok t/01_xpath.t ......... 1..109 ok 1 - * ok 2 - E ok 3 - E F ok 4 - E > F ok 5 - p.pastoral.marine ok 6 - E:first-child ok 7 - F E:first-child ok 8 - F > E:first-child ok 9 - E:lang(c) ok 10 - E + F ok 11 - E + \#bar ok 12 - E + .bar ok 13 - E[foo] ok 14 - E[foo=warning] ok 15 - E[foo="warning"] ok 16 - E[foo~="warning"] ok 17 - E[foo~=warning] ok 18 - E[foo^="warning"] ok 19 - E[foo^=warning] ok 20 - E:not([foo^="warning"]) ok 21 - E:not([foo^=warning]) ok 22 - E[foo$="warning"] ok 23 - E[foo$=warning] ok 24 - E[lang|="en"] ok 25 - E[lang|=en] ok 26 - DIV.warning ok 27 - E\#myid ok 28 - foo.bar, bar ok 29 - E:nth-child(1) ok 30 - E:last-child ok 31 - F E:last-child ok 32 - F > E:last-child ok 33 - E[href*="bar"] ok 34 - E[href*=bar] ok 35 - E:not([href*="bar"]) ok 36 - E:not([href*=bar]) ok 37 - F > E:nth-of-type(3) ok 38 - E ~ F ok 39 - E ~ F.foo ok 40 - E:contains("Hello") ok 41 - E:contains( "Hello" ) ok 42 - E:contains( "Hello" ).C ok 43 - E:contains( "Hello" ) .C ok 44 - F, E:contains( "Hello" ) ok 45 - E:contains( "Hello" ), F ok 46 - E ~ F ok 47 - E ~ \#bar ok 48 - E ~ .bar ok 49 - E ~ * ok 50 - .foo ~ E ok 51 - .foo ~ * ok 52 - .foo ~ .bar ok 53 - > em ok 54 - :first-child ok 55 - :last-child ok 56 - E.c:first-child ok 57 - E:first-child.c ok 58 - E\#i:first-child ok 59 - E:first-child\#i ok 60 - :lang(c) ok 61 - :lang(c)\#i ok 62 - \#i:lang(c) ok 63 - *:lang(c)\#i ok 64 - E:lang(c)\#i ok 65 - E\#i:lang(c) ok 66 - *:lang(c)\#i:first-child ok 67 - E:lang(c)\#i:first-child ok 68 - E:lang(c):first-child\#i ok 69 - E\#i:lang(c):first-child ok 70 - \#bar ok 71 - *\#bar ok 72 - *[foo] ok 73 - [foo] ok 74 - .warning ok 75 - *.warning ok 76 - :nth-child(1) ok 77 - *:nth-child(1) ok 78 - E:nth-child(1) ok 79 - E:nth-child(2) ok 80 - :root ok 81 - E:root ok 82 - E:empty ok 83 - :empty ok 84 - p , :root ok 85 - p , q ok 86 - div *:not(p) em ok 87 - div em:only-child ok 88 - [x=abc] ok 89 - [x=a-bc] ok 90 - [x=abc-] ok 91 - [x=ab--c] ok 92 - option[value!=""] ok 93 - option[ value="" ] ok 94 - tr[class!="wantedClass"] ok 95 - form[name='foo'] ok 96 - invalid selector should die: [1a] ok 97 - invalid selector should die: [-1a] ok 98 - invalid selector should die: [--a] ok 99 - invalid selector should die: [!a] ok 100 - invalid selector should die: [ab!c] ok 101 - invalid selector should die: [] ok 102 - invalid selector should die: [x=1a] ok 103 - invalid selector should die: [x=-1a] ok 104 - invalid selector should die: [x=--a] ok 105 - invalid selector should die: [x=!a] ok 106 - invalid selector should die: [x=ab!c] ok 107 - invalid selector should die: [x="] ok 108 - invalid selector should die: [x="abc" "] ok 109 - invalid selector should die: [x=abc z] ok t/02_html.t .......... 1..29 ok 1 - div.foo -> //div[contains(concat(' ', @class, ' '), ' foo ')] ok 2 - ul li -> //ul//li ok 3 - ul li:first-child -> //ul//li[count(preceding-sibling::*) = 0 and parent::*] ok 4 - ul li:last-child -> //ul//li[count(following-sibling::*) = 0 and parent::*] ok 5 - li.bar -> //li[contains(concat(' ', @class, ' '), ' bar ')] ok 6 - div\#bar -> //div[@id='bar'] ok 7 - div\#bar, div.baz -> //div[@id='bar'] | //div[contains(concat(' ', @class, ' '), ' baz ')] ok 8 - div:not([lang|="en"]) -> //div[not(@lang='en' or starts-with(@lang, 'en-'))] ok 9 - div:not([class~="foo"]) -> //div[not(contains(concat(' ', @class, ' '), ' foo '))] ok 10 - div:not([class]) -> //div[not(@class)] ok 11 - p.pastoral.marine -> //p[contains(concat(' ', @class, ' '), ' pastoral ')][contains(concat(' ', @class, ' '), ' marine ')] ok 12 - p:nth-child(1) -> //p[count(preceding-sibling::*) = 0 and parent::*] ok 13 - p:nth-child(2) -> //p[count(preceding-sibling::*) = 1 and parent::*] ok 14 - a[href*="bar"] -> //a[contains(@href, 'bar')] ok 15 - a:not([href*="bar"]) -> //a[not(contains(@href, 'bar'))] ok 16 - p > a:nth-of-type(3) -> //p/a[3] ok 17 - p ~ a -> //p/following-sibling::a ok 18 - p ~ a.foo -> //p/following-sibling::a[contains(concat(' ', @class, ' '), ' foo ')] ok 19 - p *:contains("description") -> //p//*[text()[contains(string(.),"description")]] ok 20 - p > *:contains("description") -> //p/*[text()[contains(string(.),"description")]] ok 21 - *:contains("description") -> //*[text()[contains(string(.),"description")]] ok 22 - :empty -> //*[not(* or text())] ok 23 - div *:not(p) em -> //div//*[not(self::p)]//em ok 24 - //div/*[not(self::p)]/em -> //div/*[not(self::p)]/em ok 25 - div em:only-child -> //div//em[count(preceding-sibling::*) = 0 and parent::*][count(following-sibling::*) = 0 and parent::*] ok 26 - div em:nth-child(2n) -> //div//em[not((count(preceding-sibling::*)+1)<0) and ((count(preceding-sibling::*) + 1) - 0) mod 2 = 0 and parent::*] ok 27 - div em:nth-child(2n+1) -> //div//em[not((count(preceding-sibling::*)+1)<1) and ((count(preceding-sibling::*) + 1) - 1) mod 2 = 0 and parent::*] ok 28 - div em:nth-last-child(3n) -> //div//em[not((count(following-sibling::*)+1)<0) and ((count(following-sibling::*) + 1) - 0) mod 3 = 0 and parent::*] ok 29 - div em:nth-last-child(2n+1) -> //div//em[not((count(following-sibling::*)+1)<1) and ((count(following-sibling::*) + 1) - 1) mod 2 = 0 and parent::*] ok t/03_xpath_root.t .... 1..9 ok 1 - * ok 2 - E ok 3 - E F ok 4 - E > F ok 5 - E + F ok 6 - E[foo] ok 7 - E[foo="warning"] ok 8 - E\#myid ok 9 - foo.bar, bar ok t/04_subclass.t ...... 1..3 ok 1 - :foo ok 2 - :bar("baz") ok 3 - :quax ok t/05_xpath_prefix.t .. 1..9 ok 1 - * ok 2 - E ok 3 - E F ok 4 - E > F ok 5 - E + F ok 6 - E[foo] ok 7 - E[foo="warning"] ok 8 - E\#myid ok 9 - foo.bar, bar ok t/99_pod.t ........... 1..1 ok 1 - POD test for blib/lib/HTML/Selector/XPath.pm ok All tests successful. Files=7, Tests=161, 3 wallclock secs ( 0.19 usr 0.05 sys + 2.32 cusr 0.23 csys = 2.79 CPU) Result: PASS CORION/HTML-Selector-XPath-0.15.tar.gz make test TEST_VERBOSE=1 -- OK PPD for HTML-Selector-XPath-0.15 already made Running Build for T/TO/TOKUHIROM/Web-Query-0.16.tar.gz Prepending /export/home/fly1432/var/cpan/build/HTML-Selector-XPath-0.15-EJlFCB/blib/arch /export/home/fly1432/var/cpan/build/HTML-Selector-XPath-0.15-EJlFCB/blib/lib /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/arch /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/lib /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/arch /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/lib to PERL5LIB for 'get' Has already been unwrapped into directory /export/home/fly1432/var/cpan/build/Web-Query-0.16-1U0Ubc Prepending /export/home/fly1432/var/cpan/build/HTML-Selector-XPath-0.15-EJlFCB/blib/arch /export/home/fly1432/var/cpan/build/HTML-Selector-XPath-0.15-EJlFCB/blib/lib /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/arch /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/lib /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/arch /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/lib to PERL5LIB for 'make' CPAN.pm: Building T/TO/TOKUHIROM/Web-Query-0.16.tar.gz Warning: Prerequisite 'HTML::TreeBuilder::XPath => 0.12' for 'TOKUHIROM/Web-Query-0.16.tar.gz' already built but the result looks suspicious. Skipping another build attempt, to prevent looping endlessly. Warning: Prerequisite 'HTML::Selector::XPath => 0.06' for 'TOKUHIROM/Web-Query-0.16.tar.gz' already built but the result looks suspicious. Skipping another build attempt, to prevent looping endlessly. >>> ./Build Building Web-Query TOKUHIROM/Web-Query-0.16.tar.gz ./Build -- OK Prepending /export/home/fly1432/var/cpan/build/HTML-Selector-XPath-0.15-EJlFCB/blib/arch /export/home/fly1432/var/cpan/build/HTML-Selector-XPath-0.15-EJlFCB/blib/lib /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/arch /export/home/fly1432/var/cpan/build/HTML-TreeBuilder-XPath-0.14-SltLTA/blib/lib /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/arch /export/home/fly1432/var/cpan/build/XML-XPathEngine-0.13-dSpcyw/blib/lib to PERL5LIB for 'test' Running Build test >>> ./Build test verbose=1 t/00_compile.t ...................... 1..1 ok 1 - use Web::Query; ok t/01_src.t .......................... 1..5 ok 1 ok 2 ok 3 ok 4 # bar! ok 5 ok 1 - from file 1..5 ok 1 ok 2 ok 3 ok 4 # bar! ok 5 ok 2 - from url 1..5 ok 1 ok 2 ok 3 ok 4 # bar! ok 5 ok 3 - from treebuilder 1..5 ok 1 ok 2 ok 3 ok 4 # bar! ok 5 ok 4 - from Array[treebuilder] 1..5 ok 1 ok 2 ok 3 ok 4 # bar! ok 5 ok 5 - from html 1..5 ok 1 ok 2 ok 3 ok 4 # bar! ok 5 ok 6 - from URI ok 7 - new_from_element skips non blessed 1..7 ok t/02_op.t ........................... ok 1 ok 2 1..2 ok 1 - get/set text ok 1 1..1 ok 2 - get/set html 1..2 ok t/03_traverse.t ..................... ok 1 ok 2 1..2 ok 1 - parent ok 1 1..1 ok 1 - first ok 1 1..1 ok 2 - last 1..2 ok 2 - first/last return new instance ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok 3 - size ok 1 ok 2 1..2 ok 4 - map ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok 5 - filter 1..5 ok t/04_element.t ...................... ok 1 1..1 ok 1 - first ok 1 1..1 ok 2 - last 1..2 ok t/05_html5.t ........................ ok 1 1..1 ok t/06_new_from_url_error_handling.t .. ok 1 ok 2 - The object isa HTTP::Response ok 3 1..3 ok 1 - bad status code ok 1 ok 2 - The object isa HTTP::Response ok 3 1..3 ok 2 - good status code 1..2 ok t/07_remove.t ....................... ok 1 - all .foo are removed and cannot be found. 1..1 ok 1 - remove and size ok 1 - .foo and .bar are removed and not showing in html 1..1 ok 2 - remove and html ok 1 - The chainning works. 1..1 ok 3 - $q->remove->end->html ok 1 - size 0 after remove ok 2 - html '' after remove 1..2 ok 4 - remove root elements ok 1 - size 0 after remove ok 2 - html '' after remove 1..2 ok 5 - remove root elements after find ok 1 - size 0 after remove ok 2 - html '' after remove 1..2 ok 6 - remove root elements via each() 1..6 ok t/08_indent.t ....................... 1..2 ok 1 - no indent ok 2 - indented ok t/09_as_html.t ...................... 1..4 ok 1 - html() returns inner html ok 2 - as_html() returns element itself ok 3 - called in scalar context ok 4 - called in list context ok t/10_subclass.t ..................... 1..4 ok 1 - use My::Web::Query; ok 2 - object from wq() isa My::Web::Query ok 3 - object from each() isa My::Web::Query ok 4 - _build_tree() isa My::TreeBuilder ok t/add_class.t ....................... ok 1 - add_class("foo bar inner") ok 2 - add_class(CODE) 1..2 ok t/after.t ........................... ok 1 - after 1..1 ok t/append.t .......................... ok 1 - append 1..1 ok t/before.t .......................... ok 1 - before 1..1 ok t/clone.t ........................... ok 1 - clone 1..1 ok t/detach.t .......................... ok 1 - detach - retval ok 2 - detach - original object modified ok 3 - detached can find() root elements 1..3 ok t/find.t ............................ 1..3 ok 1 - find() on multiple tree object ok 2 - find() includes root elements ok 3 ok t/has_class.t ....................... ok 1 - has_class - positive ok 2 - has_class - negative 1..2 ok t/insert_after.t .................... ok 1 - insert_after 1..1 ok t/insert_before.t ................... ok 1 - insert_before 1..1 ok t/prepend.t ......................... ok 1 - prepend 1..1 ok t/remove_class.t .................... ok 1 - remove_class returned isa Web::Query ok 2 - remove_class("foo bar") ok 3 - remove_class(CODE) 1..3 ok t/replace_with.t .................... 1..4 ok 1 ok 2 ok 3 ok 4 ok t/store_comments.t .................. ok 1 - constructor stores comments ok 2 - html() stores comments 1..2 ok All tests successful. Files=25, Tests=62, 13 wallclock secs ( 0.30 usr 0.20 sys + 11.14 cusr 1.51 csys = 13.15 CPU) Result: PASS TOKUHIROM/Web-Query-0.16.tar.gz ./Build test verbose=1 -- OK Tokuhiro Matsuno <tokuhirom+cpan@gmail.com> Yet another scraping library like jQuery >>> (cd /export/home/fly1432/var/cpan/build/Web-Query-0.16-1U0Ubc && tar cvf - Web-Query-0.16.ppd blib) | gzip -c >/export/home/fly1432/var/REPO/T/TO/TOKUHIROM/Web-Query-0.16.tar.gz Web-Query-0.16.ppd blib/ blib/lib/ blib/lib/Web/ blib/lib/Web/Query.pm >>> mv /export/home/fly1432/var/cpan/build/Web-Query-0.16-1U0Ubc/Web-Query-0.16.ppd /export/home/fly1432/var/REPO/T/TO/TOKUHIROM Finished 2013-04-22T10:17:02