Re: [xml] Trying to make sense of testsuite errors with libxml2 2.7.6



On Fri, Jan 22, 2010 at 12:37:10PM +0100, Martin B. wrote:
Daniel Veillard wrote:
On Thu, Jan 21, 2010 at 02:09:35PM +0100, Martin B. wrote:
Hi all!

I've downloaded ftp://xmlsoft.org/libxml2/libxml2-2.7.6.tar.gz and
compiled it with Visual Studio 2005 without warnings.

File ./test/ebcdic_566012.xml generated an error

That's due to EBCDIC not being supported in your version of iconv
so I guess you can ignore all the ebcdic test failures

Well yes I specified iconv=no so maybe that's the reason.

## Relax-NG regression tests
File ./test/relaxng/595792-ext.rng generated an error
File ./test/relaxng/addressBook.rng generated an error
(...)

 Hum, that's more serious, that passes here.

How do I figure out what went wrong??

 Instead of running the test suite by running the runtest binary
try to run it at the make level, but not sure if it works on Windows


I seems the makefile tests do not work on windows.

see Relaxtests target in Makefile.am, it does the same but with make

for example the first failure correspond to

paphio:~/XML -> xmllint --noout --relaxng test/relaxng/tutorA.rng ./test/relaxng/595792-ext.rng
./test/relaxng/595792-ext.rng validates

so works here but apparently fails for you, why ... I don't know :-)


When I enter this line (same binaries, didn't change anything since
last test) I also get the message "./test/relaxng/595792-ext.rng
validates"

I also tried adding iconv support (via the incov dowload @
ftp://ftp.zlatkovic.com/libxml/) but I get the same errors.

C:\AccuRev\trappel\Testprojects\libxml2-2.7.6>runtest
## XML regression tests
File ./test/ebcdic_566012.xml generated an error
...
## HTML regression tests
## Push HTML regression tests
## HTML SAX regression tests
## Valid documents regression tests
## Validity checking regression tests
## General documents valid regression tests
...
## Relax-NG regression tests
File ./test/relaxng/595792-ext.rng generated an error
File ./test/relaxng/addressBook.rng generated an error
File ./test/relaxng/demo.rng generated an error
File ./test/relaxng/demo2.rng generated an error
File ./test/relaxng/demo3.rng generated an error
File ./test/relaxng/inline.rng generated an error
File ./test/relaxng/inline2.rng generated an error
File ./test/relaxng/inline3.rng generated an error
File ./test/relaxng/interleave0_0.rng generated an error
File ./test/relaxng/interleave1_0.rng generated an error
File ./test/relaxng/pattern1.rng generated an error
File ./test/relaxng/pattern2.rng generated an error
File ./test/relaxng/proofsystem.rng generated an error
File ./test/relaxng/rngbug-001.rng generated an error
File ./test/relaxng/table.rng generated an error
File ./test/relaxng/tutor11_3.rng generated an error
File ./test/relaxng/tutor14_1.rng generated an error
File ./test/relaxng/tutor3_7.rng generated an error
File ./test/relaxng/tutor4_4.rng generated an error
File ./test/relaxng/tutor5_3.rng generated an error
File ./test/relaxng/tutor5_5.rng generated an error
File ./test/relaxng/tutorA.rng generated an error
## Relax-NG streaming regression tests
## Pattern regression tests
## C14N with comments regression tests
## C14N without comments regression tests
## C14N exclusive without comments regression tests
## C14N 1.1 without comments regression tests
## Catalog and Threads regression tests
Total 2819 tests, 32 errors, 0 leaks

C:\AccuRev\trappel\Testprojects\libxml2-2.7.6>xmllint --noout
--relaxng  test/relaxng/tutorA.rng ./test/relaxng/595792-ext.rng
./test/relaxng/595792-ext.rng validates

C:\AccuRev\trappel\Testprojects\libxml2-2.7.6>
C:\AccuRev\trappel\Testprojects\libxml2-2.7.6>xmllint --relaxng
test/relaxng/tutorA.rng ./test/relaxng/595792-ext.rng
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"; ns="">
  <start>
    <element name="t">
      <ref name="tcont"/>
    </element>
  </start>
  <define name="tcont">
    <text/>
  </define>
</grammar>
./test/relaxng/595792-ext.rng validates

  Seems there is something borked in rngTest in runtest.c, see one
of the other patches posted yesterday, I will try to find what's going
on

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]