Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-06 | test: Add tests for memory exhaustion | Vicent Marti | |
2016-06-06 | Fix ctypes in Python FFI calls | Nick Wellnhofer | |
This didn't cause problems so far because - all types are 32-bit on 32-bit systems and - arguments are passed in registers on x86-64. The wrong types could cause crashes on other platforms, though. | |||
2016-06-02 | roundtrip tests: remove spurious failures. | John MacFarlane | |
In the commonmark writer we separate lists, and lists and indented code, using a dummy HTML comment rather than two blank lines (this is more portable). So in evaluating the round-trip tests, we now strip out these comments. We also normalize HTML to avoid issues having to do with line breaks. | |||
2016-06-02 | Added new roundtrip_tests.py. | John MacFarlane | |
This replaces the old use of simple shell scripts. It is much faster, and more flexible. (We will be able to do custom normalization and skip certain tests.) | |||
2016-06-02 | cmark.py: added to_commonmark (for round-trip tests). | John MacFarlane | |
2016-06-02 | spec_test.py - parameterize do_test with converter. | John MacFarlane | |
2016-06-02 | Updated spec.txt (no new or changed test cases). | John MacFarlane | |
2016-06-02 | spec_tests.py: exit code is sum of failures and errors. | John MacFarlane | |
2016-06-01 | Fixed round trip tests. | John MacFarlane | |
Previously they actually ran cmark instead of the round-trip version, since there was a bug in setting the ROUNDTRIP variable. Now round trip tests fail! This was unnoticed before. See #131. | |||
2016-05-17 | Fix tests under MinGW | Nick Wellnhofer | |
- Fix PATH for api_test, see: https://cmake.org/pipermail/cmake/2009-May/029423.html - DLL is named libcmark.dll under MinGW. | |||
2016-04-09 | Updated spec test | John MacFarlane | |
2016-03-28 | Add first regression tests | Nick Wellnhofer | |
I think it's a good idea to add tests after fixing bugs. This is really easy using the spec test infrastructure. | |||
2016-03-24 | Updated spec. | John MacFarlane | |
2016-02-06 | Updated spec. | John MacFarlane | |
2016-02-06 | Updated spec. | John MacFarlane | |
2016-02-05 | Updated spec. | John MacFarlane | |
2016-02-05 | Updated spec test. | John MacFarlane | |
2016-02-05 | Update test/spec.txt. | John MacFarlane | |
2016-01-12 | Updated spec.txt | John MacFarlane | |
2016-01-11 | Updated spec.txt. | John MacFarlane | |
Currently there is one failing case. See #97. | |||
2016-01-10 | Updated format of test/smart_punct.txt. | John MacFarlane | |
2016-01-10 | Updated spec.txt and spec_tests.py to new format. | John MacFarlane | |
2016-01-07 | Updated spec.txt. | John MacFarlane | |
2016-01-07 | Updated spec.txt. | John MacFarlane | |
2016-01-05 | updated spec.txt | John MacFarlane | |
2016-01-05 | Updated spec.txt. | John MacFarlane | |
2015-12-28 | Updated spec.txt and normalize.py. | John MacFarlane | |
2015-12-22 | Updated spec.txt. | John MacFarlane | |
2015-12-20 | Made roundtrip test part of the test suite run by cmake. | John MacFarlane | |
2015-09-22 | Set convert_charrefs=False in normalize.py. | John MacFarlane | |
This defeats the new default as of python 3.5, and allows the script to work with python 3.5. Closes #83. | |||
2015-09-20 | Python 3.5 compatibility: add placeholder for HTMLParseError | Zhiming Wang | |
HTMLParseError was removed in Python 3.5. Since it could never be thrown in Python 3.5+, we simply define a placeholder when HTMLParseError cannot be imported. | |||
2015-08-23 | Updated spec | John MacFarlane | |
2015-08-18 | Updated spec.txt. | John MacFarlane | |
2015-08-10 | Fix FileNotFoundError errors on tests when cmark is built from another ↵ | Kevin Wojniak | |
project via add_subdirectory() CMAKE_SOURCE_DIR will refer to the top-level source directory, not cmark, so CMAKE_CURRENT_SOURCE_DIR must be used. Also the same for CMAKE_BINARY_DIR. Ideally it should be using the TARGET_FILE CMake generator to get a target's location instead of hard coding the path, but that requires CMake 3.0 or greater. | |||
2015-07-27 | Updated spec. | John MacFarlane | |
2015-07-25 | Updated spec.txt. | John MacFarlane | |
2015-07-25 | Updated test/spec.txt. | John MacFarlane | |
2015-07-25 | Updated test/spec.txt. | John MacFarlane | |
2015-07-23 | Improved smart_punct.txt. | John MacFarlane | |
See jgm/commonmark.js#61 | |||
2015-07-14 | Updated spec. | John MacFarlane | |
2015-07-14 | Updated spec. | John MacFarlane | |
2015-07-12 | Updated spec. | John MacFarlane | |
2015-07-11 | Updated spec. | John MacFarlane | |
2015-07-11 | Updated spec | John MacFarlane | |
2015-07-11 | Updated spec.txt. | John MacFarlane | |
2015-07-10 | Updated spec.txt. | John MacFarlane | |
2015-07-10 | Updates for new HTML block spec. | John MacFarlane | |
* Rewrote spec for HTML blocks. A few other spec examples also changed as a result. * Removed old `html_block_tag` scanner. Added new `html_block_start` and `html_block_start_7`, as well as `html_block_end_n` for n = 1-5. * Rewrote block parser for new HTML block spec. | |||
2015-07-09 | Updated test/smart_punct.txt. | John MacFarlane | |
This incorporates the changes in jgm/commonmark.js#58. Sequences of hyphens are converted to sequences of em and en dashes, with no hyphens. Currently this test fails. | |||
2015-07-09 | Fixed small bug in test runner. | John MacFarlane | |
(Error printing errors from the test program.) | |||
2015-07-08 | spec_tests.py: use stdout.out.buffer.write instead of print throughout. | John MacFarlane | |
Mixing them didn't work well; results were out of order. |