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



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

## 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

  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

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 :-)

They fail due to not matching the pattern when calling glob, so not relaxng related at all. Only happens when the test filename does not contain the _ character as the pattern is: ./test/relaxng/%s_?.xml

I do have an in-progress test suite on the make level but never finished it off when the test executables started getting pushed. If there is interest I don't mind revisiting it.

Rob





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