This queue is for tickets about the XML-Twig CPAN distribution.

Report information
The Basics
Id:
11299
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
rdhayes [...] ucla.edu
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
3.16
Fixed in:
3.16



Subject: version 3.16 fails make test on Redhat 8
Hi, Here is the output of a failing make test on the 3.16 version downloaded from www.xmltwig.com. The fail on t/test_additional.t is covered by Bug# 11250 discussed previously. The new issues are with the behavior of t/test_bugs_3.15.t and t/test_simplify.t # uname -a Linux localhost.localdomain 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT 2002 i686 i686 i386 GNU/Linux # perl -v This is perl, v5.8.0 built for i386-linux-thread-multi # perl Makefile.PL Do you want to install 'xml_pp' (XML pretty printer)? [y] y Do you want to install 'xml_grep' (XML grep - grep XML files using XML::Twig's subset of XPath)? [y] y Do you want to install 'xml_spellcheck' (spellcheck XML files skipping tags)? [y] y Checking if your kit is complete... Looks good Writing Makefile for XML::Twig # make building Twig.pm /usr/bin/perl speedup Twig.pm.slow > Twig.pm perl version is 5.008 XML::Parser version is 2.34 /usr/bin/perl check_optional_modules cp Twig.pm blib/lib/XML/Twig.pm cp Twig/XPath.pm blib/lib/XML/Twig/XPath.pm cp tools/xml_grep/xml_grep blib/script/xml_grep /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/xml_grep cp tools/xml_pp/xml_pp blib/script/xml_pp /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/xml_pp cp tools/xml_spellcheck/xml_spellcheck blib/script/xml_spellcheck /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/xml_spellcheck Manifying blib/man3/XML::Twig.3pm Manifying blib/man1/xml_grep.1 Manifying blib/man1/xml_pp.1 Manifying blib/man1/xml_spellcheck.1 # make test echo "building Twig.pm" building Twig.pm /usr/bin/perl speedup Twig.pm.slow > Twig.pm perl version is 5.008 XML::Parser version is 2.34 /usr/bin/perl check_optional_modules Skip blib/lib/XML/Twig.pm (unchanged) Skip blib/lib/XML/Twig/XPath.pm (unchanged) PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/is_field..........................ok t/pod...............................ok t/test1.............................ok t/test2.............................ok t/test3.............................ok t/test4.............................ok t/test5.............................ok t/test_additional...................complex substitution with subs_text: expected: '<doc><p>see <a href="http://www.xmltwig.com">www.xmltwig.com</a> but do not link to http://bad.com, though link to toto and see <a href="http://www.xml.com">www.xml.com</a></p><p>now http://www.nolink.com and do not link to this and do not link to http://www.bad.com and do not link to http://www.bad2.com and see <a href="http://link.com">link.com</a> also</p></doc>' got : '<doc><p>see <a href="http://"></a>www.xmltwig.com but do not link to http://bad.com, though link to toto and see <a href="http://www.xml.com">www.xml.com</a></p><p>now http://www.nolink.com and do not link to this and do not link to http://www.bad.com and do not link to http://www.bad2.com and see <a href="http://"></a>link.com also</p></doc>' cannot use latin1 _output_text_filter with perl $perl: skipping 2 tests HTML::Entities don't seem to work well with perl 5.8.0 (the e acute becomes &#233; instead of &eacute;): skipping 4 tests need Unicode::Map8 and Unicode::String for those tests: skipping 3 tests t/test_additional...................FAILED test 284 Failed 1/647 tests, 99.85% okay t/test_attregexp_cond...............ok t/test_bugs_3.15....................Can't use string ("text1elt texttext2") as an ARRAY ref while "strict refs" in use at t/test_bugs_3.15.t line 21. t/test_bugs_3.15....................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3-17 Failed 15/17 tests, 11.76% okay t/test_cdata........................ok t/test_class_methods................ok t/test_comment_handler..............ok t/test_drop_comments................ok t/test_entities.....................ok t/test_erase........................ok t/test_errors.......................ok t/test_expand_external_entities.....ok t/test_ignore_elts..................ok t/test_mark.........................ok t/test_nav..........................ok t/test_need_io_scalar...............ok t/test_need_use_bytes...............: skipping 2 tests t/test_need_use_bytes...............ok t/test_new_features_3.15............ok t/test_pi_handler...................ok t/test_pos..........................ok t/test_safe_encode..................ok t/test_simplify.....................ok 80/100# Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 81# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x8699dcc)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 82# Structures begin differing at: # $got->{elt}[0]{foo} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{foo} = 'ARRAY(0x8697278)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 83# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x869a8cc)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 84# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x869b3ac)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 85# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x869b2ec)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 86# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x8697440)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 87# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x864fbbc)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 88# Structures begin differing at: # $got->{elt}[0]{mycontent} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{mycontent} = 'ARRAY(0x86a2044)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 89# Structures begin differing at: # $got->{elt}[0]{mycontent} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{mycontent} = 'ARRAY(0x864fcf4)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 90# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x8699310)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 91# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x86a1588)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 92# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x869a00c)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 93# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x8699d00)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 94# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x85933ac)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 95# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x869cc04)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 96# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x869a048)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 97# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x8699e38)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 98# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x86a154c)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 99# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x8623524)' # Failed test (t/test_simplify.t at line 65) t/test_simplify.....................NOK 100# Structures begin differing at: # $got->{elt}[0]{content} = 'm1 text 1 text i text 2' # $expected->{elt}[0]{content} = 'ARRAY(0x86a1540)' # Looks like you failed 20 tests of 100. t/test_simplify.....................dubious Test returned status 20 (wstat 5120, 0x1400) DIED. FAILED tests 81-100 Failed 20/100 tests, 80.00% okay t/test_spaces.......................ok t/test_twig_roots...................ok t/test_unique_xpath.................ok t/test_variables....................ok t/test_with_lwp.....................ok 2/13 t/test_with_lwp.....................ok 3/13### warning is normal here ### file:test_with_lwp_no_file.xml File `test_with_lwp_no_file.xml' does not exist at t/test_with_lwp.t line 40 t/test_with_lwp.....................ok t/test_xpath_cond...................ok t/xmlxpath_01basic..................ok t/xmlxpath_02descendant.............ok t/xmlxpath_03star...................ok t/xmlxpath_04pos....................ok t/xmlxpath_05attrib.................ok t/xmlxpath_06attrib_val.............ok t/xmlxpath_07count..................ok t/xmlxpath_08name...................ok t/xmlxpath_09a_string_length........ok t/xmlxpath_09string_length..........ok t/xmlxpath_10pipe...................ok t/xmlxpath_12axisdescendant.........ok t/xmlxpath_13axisparent.............ok t/xmlxpath_14axisancestor...........ok t/xmlxpath_15axisfol_sib............ok t/xmlxpath_16axisprec_sib...........ok t/xmlxpath_17axisfollowing..........ok t/xmlxpath_18axispreceding..........ok t/xmlxpath_19axisd_or_s.............ok t/xmlxpath_20axisa_or_s.............ok t/xmlxpath_21allnodes...............ok t/xmlxpath_22name_select............ok t/xmlxpath_23func...................ok t/xmlxpath_24namespaces.............ok t/xmlxpath_25scope..................ok t/xmlxpath_26predicate..............ok t/xmlxpath_28ancestor2..............ok t/xmlxpath_29desc_with_predicate....ok t/xmlxpath_30lang...................ok t/xmlxpath_additional...............ok t/xmlxpath_nav......................ok t/xmlxpath_test1....................ok t/xmlxpath_test_twig_roots..........ok t/xmlxpath_test_with_handlers.......ok t/xmlxpath_xpath_cond...............ok t/zz_dump_config.................... Configuration: perl: 5.008 OS: linux - i686-linux XML::Parser : 2.34 expat : 1.95.5 Scalar::Util : 1.14 Encode : 2.09 LWP : 5.803 HTML::Entities : 1.29 Tie::IxHash : 1.21 XML::XPath : 1.13 Test : 1.25 Test::Pod : 1.20 XML::Simple : 2.13 XML::Handler::YAWriter : 0.23 XML::SAX::Writer : 0.44 XML::Filter::BufferText : 1.01 IO::Scalar : 2.105 Please add this information to bug reports (you can run t/zz_dump_config.t to get it) t/zz_dump_config....................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/test_additional.t 647 1 0.15% 284 t/test_bugs_3.15.t 255 65280 17 15 88.24% 3-17 t/test_simplify.t 20 5120 100 20 20.00% 81-100 Failed 3/70 test scripts, 95.71% okay. 36/1830 subtests failed, 98.03% okay. make: *** [test_dynamic] Error 29
The make test output and description appear to have been long enough to only be attached to the previous message. It's all there, though, if you click Download...
[guest - Mon Jan 31 16:34:19 2005]:
Show quoted text
> The make test output and description appear to have been long enough to > only be attached to the previous message. It's all there, though, if > you click Download...
Yes, I've got everything. Are those tests from the latest version of 3.16 (the CVS ID tag is $Id: Twig.pm.slow,v 1.180 2005/01/31 11:06:45 mrodrigu Exp $)? I have removed those failing tests in t/test_simplify.t a while ago so I suspect testing the latest dv version might improve the situation ;--) -- mirod


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.