Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
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.)
|
|
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.
|
|
- Fix PATH for api_test, see:
https://cmake.org/pipermail/cmake/2009-May/029423.html
- DLL is named libcmark.dll under MinGW.
|
|
I think it's a good idea to add tests after fixing bugs. This is really
easy using the spec test infrastructure.
|
|
|
|
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.
|
|
Currently one test fails.
|
|
|
|
Otherwise skip them, running a dummy test skipping_spec_tests to
signal that they are being skipped.
To require the spec tests, do `cmake .. -DSPEC_TESTS=1`.
Closes #278.
Although I still have some qualms about tests that can appear to
pass while being incomplete, I see the advantages of allowing
the package to build without python3.
|
|
set_tests_properties must not be called before adding the test.
|
|
|
|
Partially reverts ba8f2c48b700a466a8cf7097d5f72d43372d4c37.
See #251.
|
|
Closes #251.
|
|
Removed from .travis.yml.
This should be a standard part of the test suite.
See #245.
|
|
Added test/CMakeLists.txt.
|