• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Makefile.amH A D30-Jan-2014162 126

Makefile.inH A D23-Sep-201512.1 KiB453386

READMEH A D30-Jan-20141,019 3624

test.shH A D19-Aug-20151.5 KiB8373

test_clean.shH A D30-Jan-2014129 105

test_diff.shH A D30-Jan-2014399 3125

test_make_reference.shH A D30-Jan-2014339 2417

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.