SPECS
VxWorks
bakefile
doc
example
include
m4
macos
os400
python
result
test
vms
win32
xstc
.packit.yaml
AUTHORS
COPYING
ChangeLog
Copyright
DOCBparser.c
HTMLparser.c
HTMLtree.c
INSTALL
Makefile.am
Makefile.in
Makefile.tests
NEWS
README
README.tests
SAX.c
SAX2.c
TODO
TODO_SCHEMAS
acinclude.m4
aclocal.m4
buf.c
buf.h
c14n.c
catalog.c
chvalid.c
config.h.in
configure.ac
debugXML.c
dict.c
elfgcchack.h
enc.h
encoding.c
entities.c
error.c
globals.c
hash.c
legacy.c
libxml-2.0-uninstalled.pc.in
libxml-2.0.pc.in
libxml.3
libxml.h
libxml.m4
libxml.spec.in
libxml2-config.cmake.in
libxml2.spec
libxml2.syms
list.c
ltmain.sh
nanoftp.c
nanohttp.c
parser.c
parserInternals.c
pattern.c
regressions.xml
relaxng.c
runsuite.c
runtest.c
runxmlconf.c
save.h
schematron.c
testAutomata.c
testC14N.c
testHTML.c
testModule.c
testReader.c
testRegexp.c
testRelax.c
testSAX.c
testSchemas.c
testThreads.c
testThreadsWin32.c
testURI.c
testXPath.c
testapi.c
testchar.c
testdict.c
testdso.c
testlimits.c
testrecurse.c
threads.c
timsort.h
tree.c
trio.c
trio.h
triodef.h
trionan.c
trionan.h
triop.h
triostr.c
triostr.h
uri.c
valid.c
xinclude.c
xlink.c
xml2-config.1
xml2-config.in
xml2Conf.sh.in
xmlIO.c
xmlcatalog.c
xmllint.c
xmlmemory.c
xmlmodule.c
xmlreader.c
xmlregexp.c
xmlsave.c
xmlschemas.c
xmlschemastypes.c
xmlstring.c
xmlunicode.c
xmlwriter.c
xpath.c
xpointer.c
xzlib.c
xzlib.h
check-relaxng-test-suite.py
check-relaxng-test-suite2.py
check-xinclude-test-suite.py
check-xml-test-suite.py
check-xsddata-test-suite.py
compile
config.guess
config.sub
configure
dbgen.pl
dbgenattr.pl
depcomp
genUnicode.py
gentest.py
install-sh
missing
regressions.py
README.tests
README.tests Instructions for standalone test regressions of libxml2 libxml2-tests-$version.tar.gz contains 3 standalone C programs as well as a large amount of tests and results coming from libxml2 itself and from W3C, NIST, Sun Microsystems, Microsoft and James Clark. Each C program has a different testing purpose: runtest.c : runs libxml2 basic internal regression tests runsuite.c: runs libxml2 against external regression tests testapi.c : exercises the library public entry points testchar.c: exercise the check of character ranges and UTF-8 validation The command: make check or make -f Makefile.tests check should be sufficient on an Unix system to build and exercise the tests for the version of the library installed on the system. Note however that there isn't backward compatibility provided so if the installed version is older than the testsuite one, failing to compile or run the tests is likely. In any event this won't work with an installed libxml2 older than 2.6.20. Building on other platforms should be a matter of compiling the C files like any other program using libxml2, running the test should be done simply by launching the resulting executables. Also note the availability of a "make valgrind" target which will run the above tests under valgrind to check for memory errors (but this relies on the availability of the valgrind command and take far more time to complete). Daniel Veillard Mon May 7 2012