mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-06 05:57:39 +03:00
1f33c4d61f
* xstc/Makefile.am README README.tests Makefile.tests Makefile.am: preparing to make testsuite releases along with code source releases * gentest.py testapi.c: fixed a couple of problem introduced by the new Schemas support for Readers * xpath.c: fixed the XPath attribute:: bug #309580, #309864 in a crude but simple way. * xmlschemas.c include/libxml/tree.h: fixed a couple of problems raised by the doc builder. * doc/*: made rebuild Daniel
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
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
|
|
|
|
The command:
|
|
|
|
make -f Makefile.tests
|
|
|
|
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 to 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 platfroms 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.
|
|
|
|
Daniel Veillard
|
|
Sun Jul 10 2005
|