| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Doxygen warnings were on *nix suppressed but shown on Windows though the tests were nevertheless shown as OK
- correct redirection under windows
- catch doxygen warnings and make the corresponding test fail
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When having extra spaces in TEST_FLAGS like(note the double space before `--ip`):
```
make tests TEST_FLAGS="--keep --id=1"
```
or
```
make tests TEST_FLAGS="--id=1 --id=2"
```
we get a message like;
```
[100%] Running doxygen tests...
usage: runtests.py [-h] [--updateref] [--doxygen [DOXYGEN]]
[--xmllint [XMLLINT]] [--id IDS [IDS ...]]
[--start_id START_ID] [--end_id END_ID] [--all]
[--inputdir [INPUTDIR]] [--outputdir [OUTPUTDIR]]
[--noredir] [--pool [POOL]] [--xml] [--rtf] [--docbook]
[--xhtml] [--xmlxsd] [--pdf] [--subdirs] [--clang] [--keep]
[--cfg CFGS [CFGS ...]]
runtests.py: error: unrecognized arguments:
NMAKE : fatal error U1077: 'D:\Programs\Python\Python37\python.exe' : return code '0x2'
Stop.
```
By stripping the spaces in the arguments this can be overcome
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Problem with generating test output for Chinese
The log output generated for the Chinese language can contain some extended ASCII characters, this results in a message like:
```
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf4 in position 36101: invalid continuation byte
```
and a crash of the test application during the read of the file.
In case of a crash it is attempted to open the file with another decoding and redo the read.
* Problem with generating test output for Chinese
It is not necessary to use the fallback, one can, in this case, directly use `encoding='ISO-8859-1'`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When having a run command like:
```
nmake tests TEST_FLAGS="--xhtml --keep --cfg GENERATE_HTMLHELP=YES --cfg HHC_LOCATION=\"c:\Program Files (x86)\HTML Help Workshop\hhc.exe\" --cfg HTML_FILE_EXTENSION=.html --cfg SEARCHENGINE=NO --id=1"
```
we get an error like
```
Not a doxygen configuration item, missing '=' sign: 'Files'.
```
this is due to the usage of the `split()` that does a brute force split on spaces.
Making the splitting a bit more intelligent:
- splitting on `--`
- splitting on space after "command"
|
|
|
|
|
|
| |
(#7827)
To make better use of the processors of a computer the possibility has been build to execute the tests in parallel, this is especially of an advantage for PDF tests.
To make use of this option the number of parallel tests `np` has to be specified by means of `--pool=np`, the default is 1.
|
|
|
|
|
|
| |
On Windows a number of tests were hanging when using a language like Hungarian, Russian.
The handling of the output of the output is now done differently for Windows and other OS
A small (but obvious) error has been corrected (failed_html -> failed_latex), has no effect on the output / results though.
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|