Change log:95336cb92b..191d55580eFull diff:95336cb92b..191d55580eRoll chromium third_party 4e16929f46..3a8f2a9e1e Change log:4e16929f46..3a8f2a9e1eChanged dependencies: * src/tools:c44a3f5eca..f524a53b81DEPS diff:95336cb92b..191d55580e/DEPS No update to Clang. TBR=titovartem@google.com, BUG=None CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal Change-Id: Ic9c4a62b050383646e9fcf5cc07a5653c14ac06e Reviewed-on: https://webrtc-review.googlesource.com/76120 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23205}
40 lines
1.4 KiB
Plaintext
40 lines
1.4 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
|
|
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
|
|
|