summaryrefslogtreecommitdiffstats
path: root/testing/README.txt
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-04-03 17:19:17 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-04-03 17:19:17 (GMT)
commit4575eef95039149eb19c4f5e5bf99e67e36afb5a (patch)
tree945a2a8a8dcf123329a96ac0b3df0706e3a57d8f /testing/README.txt
parent7e2fcd305c8c9377aa958a3d812cc31bc81c0e32 (diff)
downloadDoxygen-4575eef95039149eb19c4f5e5bf99e67e36afb5a.zip
Doxygen-4575eef95039149eb19c4f5e5bf99e67e36afb5a.tar.gz
Doxygen-4575eef95039149eb19c4f5e5bf99e67e36afb5a.tar.bz2
Create test possibilities for xhtml and pdf output
The tests in the testing directory provided possibilities to do some regression tests based on the xml output. With the option --xhtml it is possible to see whether or not a test or set of tests is xhtml compliant. With the option --pdf it is possible to see whether or not a test or set of tests can be build to a pdf file (per test).
Diffstat (limited to 'testing/README.txt')
-rw-r--r--testing/README.txt30
1 files changed, 21 insertions, 9 deletions
diff --git a/testing/README.txt b/testing/README.txt
index ee3de59..1aae023 100644
--- a/testing/README.txt
+++ b/testing/README.txt
@@ -7,17 +7,27 @@ has the same 3 digit number. The directory contains one or more reference
files that are compared against the XML output produced by doxygen. If the
result is the same, there is no regression and the test passes. If there is a
difference the test fails and the difference (in diff -u format) will be shown.
+It is also possible to see whether or not the test can be build to a xhtml set
+of files (and tested against a DTD), it is also possible to create a pdf file
+for each test to see if the LaTeX / pdf generation is possible.
The runtest.py script responsible for running the tests takes a number of
optional parameters:
--id n: run test with number n only (the option may be specified
- multiple times) default is to run all tests.
--updateref: update the reference files. Should be used in combination
- with -id to update the reference file(s) for the given test.
--all: can be used in combination with -updateref to update the
- reference files for all tests.
--doxygen exe: run the specified doxygen executable.
--xmllint exe: run the specified xmllint executable.
+ --updateref update the reference data for a test
+ --doxygen [DOXYGEN] path/name of the doxygen executable
+ --xmllint [XMLLINT] path/name of the xmllint executable
+ --id IDS [IDS ...] id of the test to perform
+ --all perform all tests
+ --inputdir [INPUTDIR]
+ input directory containing the tests
+ --outputdir [OUTPUTDIR]
+ output directory to write the doxygen output to
+ --noredir disable redirection of doxygen warnings
+ --xml create xml output and check
+ --xhtml create xhtml output and check with xmllint
+ --pdf create LaTeX output and create pdf from it
+ --keep keep result directories
+In case neither --xml, --pdf or --xhtml is used the default is set to --xml.
The runtest.pl has the following dependenies on 3rd party tools:
- python to run the script
@@ -44,5 +54,7 @@ Example to update the reference files for a test
python runtest.py -updateref -id 10
There is also a CMakeLists.txt, which can be used from the build directory
-to run all tests by simply invoking 'make tests'.
+to run all tests by simply invoking 'make tests', to use the specific options use
+the flag TEST_FLAGS with make
+ e.g. make tests TEST_FLAGS="--id=5 --id=10 --pdf --xhtml"