blob: eb7223d161157c401a73f363aa92c9406ea7461f [file] [log] [blame]
Daniel Veillard1f33c4d2005-07-10 21:38:31 +00001 README.tests
2
3 Instructions for standalone test regressions of libxml2
4
5libxml2-tests-$version.tar.gz contains 3 standalone C programs as well
6as a large amount of tests and results coming from libxml2 itself and
7from W3C, NIST, Sun Microsystems, Microsoft and James Clark. Each C
8program has a different testing purpose:
9
10 runtest.c : runs libxml2 basic internal regression tests
11 runsuite.c: runs libxml2 against external regression tests
12 testapi.c : exercises the library public entry points
13
14The command:
15
16 make -f Makefile.tests
17
18should be sufficient on an Unix system to build and exercise the tests
19for the version of the library installed on the system. Note however
20that there isn't backward compatibility provided so if the installed
21version is older to the testsuite one, failing to compile or run the tests
22is likely. In any event this won't work with an installed libxml2 older
23than 2.6.20.
24Building on other platfroms should be a matter of compiling the C files
25like any other program using libxml2, running the test should be done
26simply by launching the resulting executables.
27
28Daniel Veillard
29Sun Jul 10 2005