summaryrefslogtreecommitdiffstats
path: root/testing/runtests.py
Commit message (Collapse)AuthorAgeFilesLines
* LaTeX test were hanging for a.o. Hungarian on Windowsalbert-github2020-06-081-6/+13
| | | | | | 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.
* issue #7464 1.8.17: test suite is failingalbert-github2020-01-011-7/+12
| | | | | | | | 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.
* Making tests valid for python 3albert-github2019-12-191-16/+38
| | | | | 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.
* Making tests valid for python 3albert-github2019-12-181-13/+39
| | | | | | | | | | | | | | | | | | | | | | | 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.
* chmod +x runtest.pyAdrian Negreanu2019-07-261-0/+0
|
* Create option to enable CLANG_ASISTED_PARSING in test suitealbert-github2019-04-281-0/+5
| | | | | | 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
* Add possibility of checking XML against XSD in doxygen testsalbert-github2019-03-181-9/+66
| | | | Added option `--xmlxsd` to check generated XML files against XSD in the doxygen tests suite.
* Merge pull request #6743 from albert-github/feature/bug_sorting_testsDimitri van Heesch2019-01-051-1/+1
|\ | | | | Tests are unsorted
| * Tests are unsortedalbert-github2019-01-051-1/+1
| | | | | | | | 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.
* | Fixed alt attribute appearing in <object> tag for SVG imagesDimitri van Heesch2019-01-051-1/+1
|/
* Fixed missing end paragraph marker when inline image appeared as last item.Dimitri van Heesch2019-01-051-2/+3
|
* testing: make runtests.py executable.Vladimír Vondruš2018-12-291-0/+0
| | | | | | | | | | So one can do just ./runtests.py on Unix-like systems, instead of the unusual python runtests.py
* Merge branch 'master' into feature/bug_tests_extensionsDimitri van Heesch2018-09-151-0/+9
|\
| * Add possibility for adding doxygen configuration items to, all, tests during ↵albert-github2018-09-151-1/+10
| | | | | | | | | | | | runtime. Creating possibility to add extra doxygen configuration items to tests (e.g. QUIET=NO)
* | Extending tests with extra possibilitiesalbert-github2018-09-071-13/+104
|/ | | | | | | | | - 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
* Problem with TEST_FLAGS when using CMake for Visual StudioTushar Maheshwari2018-05-131-1/+2
|
* Create test possibilities for xhtml and pdf outputalbert-github2018-04-031-3/+3
| | | | Regression of default output (INPUT setting was overruled).
* Create test possibilities for xhtml and pdf outputalbert-github2018-04-031-43/+164
| | | | | | 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).
* runtests: Simplify dictionary usageBoris Egorov2015-08-201-4/+1
|
* Problem running tests under Windowsalbert-github2015-06-101-2/+6
| | | | | | 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
* Support diff that returns "No differences encountered" when comparing test ↵Dimitri van Heesch2015-06-031-1/+1
| | | | results
* Fixes for running tests and generating docs with cmakeDimitri van Heesch2015-06-031-1/+1
|
* Added missing files and build instructionsDimitri van Heesch2015-05-311-0/+201