xerces-p-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Dolan <ch...@clotho.com>
Subject Re: [cpan #571] make test on macosx
Date Tue, 07 May 2002 23:55:43 GMT
Jason_E_Stewart via RT wrote:
>>I would be happy to provide specific failure details upon request.
> 
> Please do. You can use rt.cpan.org, or nagoya.apache.org/bugzilla, or
> even just xerces-p-dev@xml.apache.org

OK, then, here is the list from after I did the s/utf-8/UTF-8/.  I've
added a few comments inline, prefixed by "***"

This is perl 5.6.0, default distro with OSX.  I've built a ton of CPAN
libraries with this, including XML::Parser just a couple days ago, with
no serious errors.  I'm suspicious of the SWIG stuff, which I chose not
to rebuild (since I have not yet build SWIG on this box), but not for
any good reason other than superstition.

One more data point is that I'm actually using the XML::Xerces stuff
right now with no apparent glitches, but I haven't gotten too deep in
the API yet.


% make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/AttributeList...........ok

t/Attributes..............ok

t/DOMCount................ok 1/2Use of uninitialized value in numeric eq
(==) at t/DOMCount.t line 59.
t/DOMCount................FAILED test 2

        Failed 1/2 tests, 50.00% okay
*** This failure is due to the /usr/bin/perl strangeness I mentioned in
*** my last message
t/DOMCreate...............ok

t/DOMParser...............ok

t/DOMPrint................FAILED test 2

        Failed 1/2 tests, 50.00% okay
*** As is this one
t/DOM_Attr................ok

t/DOM_DOMException........ok

*** For the below, I didn't figure out which errors were failing...
t/DOM_Document............ok 164/35125Error code: 5

t/DOM_Document............ok 661/35125Error code: 5

t/DOM_Document............NOK 662Error code: 5

t/DOM_Document............NOK 663Error code: 5

t/DOM_Document............NOK 664Error code: 5

t/DOM_Document............ok 666/35125Error code: 5

t/DOM_Document............NOK 667Error code: 5

t/DOM_Document............NOK 668Error code: 5

t/DOM_Document............NOK 669Error code: 5

t/DOM_Document............NOK 670Error code: 5

t/DOM_Document............NOK 671Error code: 5

t/DOM_Document............ok 677/35125Error code: 5

t/DOM_Document............NOK 678Error code: 5

t/DOM_Document............NOK 679Error code: 5

t/DOM_Document............NOK 680Error code: 5

t/DOM_Document............NOK 681Error code: 5

t/DOM_Document............NOK 682Error code: 5

t/DOM_Document............NOK 683Error code: 5

t/DOM_Document............ok 686/35125Error code: 5

t/DOM_Document............NOK 687Error code: 5

t/DOM_Document............NOK 688Error code: 5

t/DOM_Document............NOK 689Error code: 5

t/DOM_Document............NOK 690Error code: 5

t/DOM_Document............NOK 691Error code: 5

t/DOM_Document............NOK 692Error code: 5

t/DOM_Document............NOK 693Error code: 5

t/DOM_Document............NOK 694Error code: 5

t/DOM_Document............NOK 695Error code: 5

t/DOM_Document............NOK 696Error code: 5

t/DOM_Document............ok 708/35125Error code: 5

t/DOM_Document............ok 714/35125Error code: 5

t/DOM_Document............NOK 715Error code: 5

t/DOM_Document............NOK 716Error code: 5

t/DOM_Document............NOK 717Error code: 5

t/DOM_Document............NOK 718Error code: 5

t/DOM_Document............NOK 719Error code: 5

t/DOM_Document............NOK 720Error code: 5

t/DOM_Document............NOK 721Error code: 5

t/DOM_Document............NOK 722Error code: 5

t/DOM_Document............FAILED tests 165, 662-665, 667-672, 678-684,
687-697, 709, 715-723
        Failed 39/35125 tests, 99.89% okay
t/DOM_Element.............ok

t/DOM_Entity..............FAILED test 2

        Failed 1/3 tests, 66.67% okay
*** Removing the ", $fail=1" makes this test pass
t/DOM_NamedNodeMap........ok

t/DOM_Node................ok

t/DOM_NodeIterator........ok

t/DOM_NodeList............ok

t/DOM_TreeWalker..........ok

t/EntityResolver..........ok

t/Grammar.................ok

t/InputSource.............ok

t/LocalFileInputSource....FAILED test 3

        Failed 1/5 tests, 80.00% okay
*** new('../foo/bar.xml') leads to $error==undef.  And I confirmed that
*** this file does NOT exist.  :-)
t/MemBufInputSource.......ok

t/PerlErrorHandler........ok

t/SAX2Count...............ok

t/SAXCount................ok

t/SAXException............ok

t/SAXParser...............ok

t/Schema..................dubious

        Test returned status 0 (wstat 6, 0x6)
        after all the subtests completed successfully
*** I don't understand the above error.  Running plain, I get:
*** % perl -Mblib t/Schema.t
*** Using /private/var/root/.cpan/build/XML-Xerces-1.7.0-1/blib
*** 1..3
*** ok 1
*** ok 2
*** ok 3
*** Abort
t/StdInInputSource........ok 2/3FATAL ERROR:

FILE:
LINE:    0
COLUMN:  0
MESSAGE: An exception occurred! Type:XMLPlatformException, Message:Could
not open file: {0}
 at blib/lib/XML/Xerces.pm line 2809
t/StdInInputSource........dubious

        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 3
        Failed 1/3 tests, 66.67% okay
*** The above fails at the parse($is) near the end of file

*** Haven't looked into any of the errors below yet
t/URLInputSource..........ok 4/8Error in eval: The base part of the URL
cannot be relative at t/URLInputSource.t line 48
t/URLInputSource..........dubious

        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-8
        Failed 4/8 tests, 50.00% okay
t/XMLException............NOK 3Can't call method "isa" without a package
or object reference at t/XMLException.t line 40.
t/XMLException............dubious

        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-5
        Failed 4/5 tests, 20.00% okay
t/XMLScanner..............dubious

        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-12
        Failed 11/12 tests, 8.33% okay
t/XMLURL..................ok

t/XMLUri..................ok

t/actualCast..............ok

t/domTest.................ok

Failed Test              Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/DOMCount.t                            2    1  50.00%  2
t/DOMPrint.t                            2    1  50.00%  2
t/DOM_Document.t                    35125   39   0.11%  165 662-665 667-672
                                                        678-684 687-697 709
                                                        715-723
t/DOM_Entity.t                          3    1  33.33%  2
t/LocalFileInputSource.t                5    1  20.00%  3
t/Schema.t                  0     6     3    0   0.00%  ??
t/StdInInputSource.t      255 65280     3    1  33.33%  3
t/URLInputSource.t        255 65280     8    4  50.00%  5-8
t/XMLException.t            2   512     5    4  80.00%  2-5
t/XMLScanner.t              2   512    12   11  91.67%  2-12
Failed 10/35 test scripts, 71.43% okay. 63/35352 subtests failed, 99.82%
okay.


>>
>>2) Failure of t/DOMCount.t (and others like it)
>>
>>This test is failing to properly run samples/DOMCount.pl.  The
>>   *absolutely* bizarre thing about this is that the failure is
>>   triggered by the use of /usr/bin/perl vs. perl.  Watch this:
> 
> 
> This seems like a bad perl installation...
> 
> I don't think I'm going to be much help here.

Hmm, well it is bizarre.  If you hear of anyone else with similar
problems, tell them to get in touch with me, please.

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Mime
View raw message