README
1This directory contains HTML test files and the supposed output
2html2xhtml should produce for them (compressed in
3reference.tar.gz). In order to run these tests, type:
4
5$ make test
6
7or
8
9$ ./test.sh
10
11Each HTML file is processed once for each document type supported y
12html2xhtml.
13
14The script dumps the list of correct and failing tests. For tests that
15fail, the script test_diff.sh shows the differences between the
16reference file and the actual output of the program for every document
17type. For example:
18
19$ ./test_diff.sh test-utf8-count-1.html
20
21After running the tests, the outputs of html2xhtml are in the
22"tmp-test" directory and the references are in the "reference"
23directory.
24
25Finally, the directory can be cleaned up with:
26
27$ make clean
28
29or
30
31$ ./test_clean.sh
32
33NOTE: Tests that produce the output in UTF-16 may not currently work
34properly, because two byte orderings are possible, but the reference
35files use a specific byte ordering. The test system will be improved
36to allow byte-order independent comparison.