| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
On Windows the syntax with the command and arguments in one string worked but on *nix (and Cygwin) it didn't.
- changed calls to Popen to split command (see also: https://docs.python.org/3/library/subprocess.html).
- explicitly specify files to check for xhtml
- changed call to xmllint for xhtml and docbook (due to stdout overflow in some cases, we are not really interested in the, formatted, output of xmllint).
- in the update part a `read` was left, should have been removed.
|
|
|
|
|
| |
In #7254 the tests were made for python 3 for the standard xml tests, now this is extended for the other possible formats.
The subprocess call gave some problems as it handles only 1 command and no redirection.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test 65 gave some problems with python3:
```
Traceback (most recent call last):
File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 487, in <module>
main()
File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 484, in main
sys.exit(testManager.perform_tests())
File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 388, in perform_tests
tester = Tester(self.args,test)
File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 13, in __init__
self.config = self.get_config()
File "D:/Programs/Doxygen/Doxygen-.git/doxygen/testing/runtests.py", line 71, in get_config
for line in f.readlines():
File "D:\Programs\Python\Python37\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 236: character maps to <undefined>
```
this happened on multiple places and also with the `popen` command.
Created, analogous to `doc/translator.py`, special open functions so that the code works for Python 2 and Python 3.
|
| |
|
|
|
|
|
|
| |
Create possibility to use CLANG_ASSISTED_PARSING, works only when doxygen has been compiled with "use_libclang"
Note at this moment the test suite gives an error, see issue #6948
|
|
|
|
| |
Added option `--xmlxsd` to check generated XML files against XSD in the doxygen tests suite.
|
|\
| |
| | |
Tests are unsorted
|
| |
| |
| |
| | |
When requesting all tests they are sorted in the way `glob.glob` returns them, i.e. unsorted, better, more intuitive and easier for finding problems, would be sorted.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
So one can do just
./runtests.py
on Unix-like systems, instead of the unusual
python runtests.py
|
|\ |
|
| |
| |
| |
| |
| |
| | |
runtime.
Creating possibility to add extra doxygen configuration items to tests (e.g. QUIET=NO)
|
|/
|
|
|
|
|
|
|
| |
- docbook for docbook output including small test on validity (i.e. basic xml test)
- rtf for rtf output
- start_id and end_id creating the possibility to run one range of tests
-- subdirs us CREATE_SUBDIRS=YES
|
| |
|
|
|
|
| |
Regression of default output (INPUT setting was overruled).
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
| |
The redirection used in the runtests.py script was based on *nix type systems. Corrected for windows.
Windows has a different line ending than *nix, resulting in a problem with diff unless the options -b -w are used.
Some tests had as directory for some paths a directory . this has been corrected to $INPUTDIR
|
|
|
|
| |
results
|
| |
|
|
|