summaryrefslogtreecommitdiff
path: root/test/pathological_tests.py
AgeCommit message (Collapse)Author
2020-02-16Add pathological test for reference collisions (see #220).John MacFarlane
This is taken from GitHub's fix: https://github.com/github/cmark-gfm/commit/66a0836dc91e1653f7931e1218446664493da520
2020-01-15Fix pathological_tests.py on WindowsNick Wellnhofer
When using multiprocessing on Windows, the main program must be guarded with a __name__ check.
2020-01-15Remove useless __name__ check in test scriptsNick Wellnhofer
These checks don't seem to be required and broke pathological_tests.py on Windows where multiprocessing sets __name__ to "__mp_main__".
2019-03-17Add pathological test for #285.John MacFarlane
2018-04-15pathological_tests.py: make tests run faster.John MacFarlane
- commented out the (already ignored) "many references" test, which times out - reduced the iterations for a couple other tests
2018-04-15pathological_tests.py: added test for deeply nested lists.John MacFarlane
2017-11-05Fixed exit code for pathological tests.John MacFarlane
2017-11-05Add allowed failures to pathological_tests.py.John MacFarlane
This allows us to include tests that we don't yet know how to pass.
2017-11-05Add timeout to pathological_tests.py.John MacFarlane
Tests must complete in 8 seconds or are errors.
2017-11-05Refactored pathological_tests.pyJohn MacFarlane
2017-08-16Add more pathological tests.Martin Mitas
These tests target the issues #214, #218, #220.
2017-01-03Added pathological test for #178 (quadratic).John MacFarlane
The new "multiple of 3" rule defeats one of our optimizations.
2016-11-26Added pathological test for backticks.John MacFarlane
Currently aborts.
2016-06-24Updated spec and pathological tests for changes in strong/emph parsing.John MacFarlane
2015-06-17Added case for #59 to pathological_test.py.John MacFarlane
2015-06-11pathological_tests: removed timeout stuff.John MacFarlane
It breaks on Windows.
2015-06-11Added another case to pathological tests.John MacFarlane
"*a_ " * 20000 See jgm/commonmark#43.
2015-06-11Added timetouts to pathological tests.John MacFarlane
This way tests fail instead of just hanging. Currently we use a 1 sec timeout. Added a failing test from jgm/commonmark#43.
2015-06-10Added more pathological tests.John MacFarlane
Many link closers with no openers. Many link openers with no closers. Many emph openers with no closers.
2015-06-10Added pathological test case for jgm/commonmark#43.John MacFarlane
Many closers with no openers.
2014-12-29Updated tests to use python3.John MacFarlane
2014-12-27pathological_tests.py: limit to 65000 reps.John MacFarlane
This is because some versions of python have a limit of N = 65535 in regex `{N}`.
2014-12-27Added pathological tests for nulls in input and nested blockquotes.John MacFarlane
2014-12-24Use python2 for man, test scripts.John MacFarlane
Closes #251.
2014-11-29Factored out cmark.py from test programs.John MacFarlane
2014-11-29Moved testing programs to test/.John MacFarlane
Added test/CMakeLists.txt.